[fpc-pascal] replacement of MARK and RELEASE function in free pascal
Marco van de Voort
marcov at stack.nl
Thu Jun 19 12:58:55 CEST 2014
In our previous episode, mokashe.ram said:
> Can any one help me on raplacement of MARK and RELEASE function in free
> pascal...
>
> var
> markexam: pointer; // untyped pointer
> begin
> ...
> * mark(markexam);
> .....
> Release(markexam);* end;
This eighties style of memory management has no 1:1 substitutions.
Reengineer your memory management on top of getmem and freemem.
More information about the fpc-pascal
mailing list