DSFML

Jacob Carlborg doob at me.com
Thu Dec 19 04:46:11 PST 2013


On 2013-12-19 08:27, Kagamin wrote:
> https://github.com/Jebbs/DSFML/blob/master/src/dsfml/graphics/text.d#L241
> Destructors are called by GC during the collection cycle, and writeln
> may want to allocate, which is not allowed during collection, it may be
> safer to use printf.

Isn't it allowed to do new allocations but not refer to existing memory 
allocated by the GC?

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list