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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@digitalmars.com


--- Comment #1 from Walter Bright <bugzi...@digitalmars.com> 2014-03-21 
13:09:41 PDT ---
As in ALL calls to C functions, you simply must be cognizant of the lifetime of
any pointed to data passed to them. This is as true in D code passing stuff to
C as in C code passing stuff to C.

I.e. you must read the C API documentation about what happens to those passed
in pointer to data. You must know what you're doing when calling C code.

There's no one answer to this, and therefore no package we can devise to
address this.

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

Reply via email to