ICal.Memory
Description:
Content:
Functions:
- public void add_tmp_buffer (void* buf)
Adds an existing buffer to the buffer ring.
- public void append_char (ref char[] buf, ref char[] pos, char ch)
Append the character to the buffer.
- public void append_string (ref char[] buf, ref char[] pos, string str)
Appends the string to the buffer.
- public void free_buffer (void* buf)
Frees the buffer.
- public void* new_buffer (size_t size)
Creates a new buffer with target size.
- public void* resize_buffer (void* buf, size_t size)
Resizes the buffer to the target size.
- public string strdup (string s)
A wrapper around strdup.
- public void* tmp_buffer (size_t size)
Creates a buffer with target size.
- public string tmp_copy (string str)
Like strdup, but the buffer is on the ring.