@nogc required on C API callbacks?

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 9 23:47:36 PDT 2014


On 09/07/14 21:54, Brian Schott wrote:

> The argument for
> requiring @nogc on C library callbacks makes sense to me, so I'd like to
> know if this was intentional.

Why shouldn't you be able to allocate GC memory from C?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list