Re: how to string → uint* ?

2015-06-28 Thread Mike Parker via Digitalmars-d-learn
On 6/28/2015 7:08 PM, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net wrote: In addition to what anonymous said, you might want to raise a bug report with Derelict, because the function signatures are arguable wrong, though that depends on whether Derelict wants to provide a strict one-to-one

Re: how to string → uint* ?

2015-06-28 Thread anonymous via Digitalmars-d-learn
': CSFML_GRAPHICS_API void sfText_setUnicodeString ( sfText * text, const sfUint32 * string ) *'sfUint32' same 'unsigned int'. how to convert string → uint? i just try that, but not work

Re: how to string → uint* ?

2015-06-28 Thread via Digitalmars-d-learn
In addition to what anonymous said, you might want to raise a bug report with Derelict, because the function signatures are arguable wrong, though that depends on whether Derelict wants to provide a strict one-to-one mapping of the C code, or one that is already somewhat adapted to D:

Re: how to string → uint* ?

2015-06-28 Thread via Digitalmars-d-learn
On Sunday, 28 June 2015 at 10:29:48 UTC, Mike Parker wrote: On 6/28/2015 7:08 PM, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net wrote: In addition to what anonymous said, you might want to raise a bug report with Derelict, because the function signatures are arguable wrong, though that

Re: how to string → uint* ?

2015-06-28 Thread xky via Digitalmars-d-learn
On Sunday, 28 June 2015 at 10:00:37 UTC, anonymous wrote: On Sunday, 28 June 2015 at 01:57:46 UTC, xky wrote: [...] Don't try casting just because you guess it could maybe work. The best documentation for setUnicodeString I could find is this:

how to string → uint* ?

2015-06-27 Thread xky via Digitalmars-d-learn
, const sfUint32 * string ) *'sfUint32' same 'unsigned int'. how to convert string → uint? i just try that, but not work. string test