Michael Schnell wrote:
On 06/05/2012 09:47 AM, Mattias Gaertner wrote:
On Tue, 05 Jun 2012 09:33:53 +0200
Michael Schnell<[email protected]> wrote:
Will just "using" cmem both in the main program and in the library
automatically unify the memory managers ?
Under Linux: yes. I guess BSD, OS X
too.
If cmem can do this so easily, would it not be a good idea to upgrade
the FP memory manager so that it can (optionally) do this, as well, so
that dynamically linked projects work appropriately "out of the box" ?
Is it possible to look at a pointer or object, and decide unambiguously
whether it makes sense in the context of the current memory manager, or
is a rogue that's been passed from elsewhere and should be treated with
caution?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus