Lexer in D

Namespace rswhite4 at googlemail.com
Mon Mar 11 08:56:36 PDT 2013


On Monday, 11 March 2013 at 15:51:58 UTC, David wrote:
>> But I do not think you can extend a memory block with C 
>> functions.
>
> What about realloc?

That's what I use. But it moves your old memory into the new 
allocated. Or proves it first if your current memory block could 
be extended?


More information about the Digitalmars-d-learn mailing list