|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
The memory of a string variable: the variable points to chars, the header is in front of it (-8, -4). More...
#include <blitzobj.h>
Data Fields | |
| ULONG | alloced |
| ULONG | len |
| UBYTE | chars [] |
The memory of a string variable: the variable points to chars, the header is in front of it (-8, -4).
Owner: the compiler's runtime (memlib allocates it). Used by maxlenlib and strings2lib.
| ULONG bb_strmem::alloced |
-8 alloc'd length
| UBYTE bb_strmem::chars[] |
+0 the characters, then a 0
| ULONG bb_strmem::len |
-4 string length