http://bugzilla.gdcproject.org/show_bug.cgi?id=91

--- Comment #2 from Iain Buclaw <ibuc...@gdcproject.org> 2014-01-12 16:00:11 
GMT ---
http://dlang.org/arrays.html

"""
Since strings, however, are not 0 terminated in D, when transferring a pointer
to a string to C, add a terminating 0:

str ~= "\0";

or use the function std.string.toStringz.
"""

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

Reply via email to