Rename std.string.toStringz?

Daniel Gibson metalcaedes at gmail.com
Thu Jun 16 05:57:56 PDT 2011


Am 16.06.2011 14:56, schrieb Mike Parker:
> On 6/16/2011 7:59 PM, Daniel Gibson wrote:
>> Am 16.06.2011 13:01, schrieb Kagamin:
>>> c_str
>>> c_wstr
>>>
>>> similarly to c_long
>>
>> So c_long converts a long to a c-long?
>> (Is this a D function/type? I couldn't find it on the homepage)
> 
> It's not a conversion function, but an alias. It's declared, along with
> c_ulong, in core.stdc.config.

So it has nothing to do with toStringz and similar names would be confusing.


More information about the Digitalmars-d mailing list