Changeset 1249
- Timestamp:
- Oct 27, 2006, 10:40:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/buffer.c
r1247 r1249 32 32 * Create a \e libcucul buffer that points to the given memory area. The 33 33 * data is not duplicated and any changes made to the original memory area 34 * will appear in the buffer. If you are importing a string, the 35 * terminating zero must NOT be counted in size. 34 * will appear in the buffer. 35 * 36 * Keep in mind that buffers are not strings. When loading a C string, the 37 * terminating '\0' must not be part of the buffer, hence \e size should 38 * be computed with strlen(). Conversely, the '\0' is not appended to 39 * exported buffers even when they could be parsed as strings. 36 40 * 37 41 * \param data The memory area to load.
Note: See TracChangeset
for help on using the changeset viewer.