[mainpage] [tags]

module: string

Some simple string allocation and handling functions.

This module contains functions for object-oriented handling of const char* strings in C. Strings can be either zero-terminated or have some fixed length. The contents of the string cannot be (easily) changed.

MX_STRING is bit-copy-correct which means that a binary copy retains proper functioning and takes over ownership of internal buffers. The copy source MX_STRING should not be used once the copy takes place.

Memory containing a MX_STRING can be realloc'd without affecting proper operation. Therefore it can be used inside a MX_VECTOR. (../include/deds/string.h)

Part of the deds library.

Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007