[fpc-devel] Manual memory management with ansistrings and dynamic arrays

Adriaan van Os fpc at microbizz.nl
Thu Dec 12 16:05:41 CET 2013


Is it safe to assume that manually allocating a cleared memory block (e.g. with calloc rather than 
New) sufficiently initializes the ansistrings and dynamic arrays in that memory block ? If not, 
what does the init code look like that New is calling/setting up for ansistrings and dynamic arrays ?

Regards,

Adriaan van Os



More information about the fpc-devel mailing list