reflection / D's function calling convention?

Thomas Kuehne thomas-dloop at kuehne.cn
Tue Nov 14 00:01:13 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Benoit (keinfarbton) schrieb am 2006-11-14:
> In the demo you call a c-function and a pascal-function. Is D equal to
> pascal calling conventions?

No.

> Can I use this to call D functions?
> Is there a way, to call an object method?

Not yet. I'm currently rewriting to support C, D and C++.
(I forgot how limited C++'s templates and variadic arguments are ...)

Adding support for D's calling convention is going to be the
next step. Though keep in mind that there are 3 different D calling
conventions: GDC, DMD-Linux and DMD-Windows.

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFWXy1LK5blCcjpWoRApvgAJ9l+n2rLueVeSogO656l58NYTWpKACfakXE
jl56lV8/Kaj/EjHataZvu4I=
=icmZ
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list