binutils-gdb/ld/testsuite/ld-pe/direct2_dll.c

21 lines
231 B
C

void
__cdecl
lib2foocdecl(int junk1, int* junk2)
{
*junk2 = junk1;
}
void
__stdcall
lib2foostdcall(int junk1, int* junk2)
{
*junk2 = junk1;
}
void
__fastcall
lib2foofastcall(int junk1, int* junk2)
{
*junk2 = junk1;
}