Michael Bruschkewitz
6/10/2009 7:42:00 AM
"Durgaprasad Gorti" <dgorti@msn.com> schrieb im Newsbeitrag
news:BLU128-DS296F076725CF89FE0D7A1C6470@phx.gbl...
> To find an ifdef that defines ruby_init (without the underscore) to
> _ruby_init (with underscore)
> I can't find such a thing.
The "_" is automatically added when functions are compiled using
"C"-linkage. This is done by the compiler w/o preprocessor affected.
> So my question here is if I am trying to load the msvcrt-ruby18.dll and
> call
> functions
> from the dll, should/could I call these functions with leading
> underscores?
IMHO, no.
Why you did not just try it?
Regards,
Michael B.