https://d.puremagic.com/issues/show_bug.cgi?id=12417



--- Comment #2 from Denis Shelomovskij <verylonglogin....@gmail.com> 2014-03-22 
00:53:42 MSK ---
(In reply to comment #1)
> I.e. you must read the C API documentation about what happens to those passed
> in pointer to data.

I'm talking about completely different thing. No C functions document whether
they store it's argument visible by GC during the call (at least because it can
depend on calling convension), consider this call:
---
SetCurrentDirectoryW(std.utf.toUTF16z(path));
---
It's incorrect as during `SetCurrentDirectoryW` call passed string may become
invisible by GC and collected.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to