On Mon, Jan 07, 2002 at 09:06:57AM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:30251] Re: cdecl vs stdcall" > on 02/01/05, Alan Chen <alan / digikata.com> writes: > > |Generally, for cross-platform code, I've seen a macro used where the cdecl/stdcall occurs. The macro may evaluate to nothing on platforms which don't need to specify between cdecl's and stdcalls. > > Hmm, could you give us more information? Where can I see the macro? > > matz. > There's a short discussion and simplistic example at: http://www.xiph.org/archives/vorbis-dev/200012/0129.html Usually the macro is built into a larger c-preprocessor system of macros specified to make cross platform DLL/SO building saner. -- alan