[m-dev.] __fastcall convention
Peter Ross
petdr at cs.mu.OZ.AU
Wed Jul 5 00:04:51 AEST 2000
For use with the MLDS, we should look at the performance increase for
the following:
#ifdef _MSC_VER
#define CALLING_CONVENTION __fastcall
#else
#define CALLING_CONVENTION
#endif
void CALLING_CONVENTION some_mercury_function()
{
}
Anything whose name is exported using pragma export should probably be
void exported_function_name()
{
some_mercury_function();
}
with the standard calling convention.
Pete
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list