Export GC memory manager to C???

Walter Bright newshound2 at digitalmars.com
Thu Jul 28 12:05:43 PDT 2011


On 7/28/2011 3:31 AM, Robert Persson wrote:
> Would it be possible to export GC.malloc(...) as a C function in a DLL, to use
> as a garbage collected memory allocator for C ? Or does the garbage collector
> not scan outside the boundaries of the DLL?

You can use a C++ version of it from the Dscript engine 
http://digitalmars.com/dscript/index.html


More information about the Digitalmars-d mailing list