D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-03 Thread Denis Koroskin
I'm currently writing a program that interfaces with C++. C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', or just 'unsigned', but is mangled differently. In particular, C++ mangles unsigned long as 'K', and I can't find a D counterpart that would be mangled similarly.

Re: D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-03 Thread Walter Bright
Denis Koroskin wrote: I'm currently writing a program that interfaces with C++. C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', or just 'unsigned', but is mangled differently. In particular, C++ mangles unsigned long as 'K', and I can't find a D counterpart that would

Re: D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-03 Thread Tomas Lindquist Olsen
On Sat, Oct 3, 2009 at 2:55 PM, Denis Koroskin <2kor...@gmail.com> wrote: > I'm currently writing a program that interfaces with C++. > C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', or > just 'unsigned', but is mangled differently. > > In particular, C++ mangles unsigned l

Re: D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-03 Thread Denis Koroskin
On Sat, 03 Oct 2009 21:50:06 +0400, Tomas Lindquist Olsen wrote: On Sat, Oct 3, 2009 at 2:55 PM, Denis Koroskin <2kor...@gmail.com> wrote: I'm currently writing a program that interfaces with C++. C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', or just 'unsigned',

Re: D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-03 Thread Denis Koroskin
On Sat, 03 Oct 2009 22:47:53 +0400, Walter Bright wrote: Denis Koroskin wrote: I'm currently writing a program that interfaces with C++. C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', or just 'unsigned', but is mangled differently. In particular, C++ mangles unsig

Re: D2.0 cpp interfacing: what is a C++ unsigned long counterpart in D?

2009-10-04 Thread downs
Denis Koroskin wrote: > I'm currently writing a program that interfaces with C++. > C++ code uses a lot of 'unsigned long', which equals to 'unsigned int', > or just 'unsigned', but is mangled differently. > > In particular, C++ mangles unsigned long as 'K', and I can't find a D > counterpart that