C++ Binding Generator [OT]
Jacob Carlborg
doob at me.com
Sat Feb 15 04:57:18 PST 2014
On 2014-02-15 12:54, Jakob Ovrum wrote:
> That doesn't seem correct, it should be `wchar` on Windows only, and
> `dchar` on other systems, i.e. it should translate to
> core.stdc.stddef.wchar_t.
I was mistaken. Currently DStep recognizes the "wchar_t" typedef, then
it checks the size of it, translating to either "wchar" or "dchar". This
is correct but will not generate cross-platform bindings.
core.stdc.stddef.wchar_t seems like a better choice. Thanks.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list