#include <stdio.h>
Go to the source code of this file.
◆ ok_int
◆ __declspec()
Definition at line 7 of file dllexport_test.c.
43 {
printf(
"wrong result in line %d, expected 0x%x, got 0x%x\n", __LINE__, (
b), (
a)); }
44
46{
47 char*
str =
"defaultstring";
48
51
56
61#ifdef _M_IX86
63#endif
65
66#ifdef _M_IX86
69
71 ok_int(DecoratedStdcallFunc5(
str), 0x10021);
72#endif
77#ifdef _M_IX86
80#endif
81#ifdef _M_IX86
83 ok_int(DecoratedFastcallFunc2(
str), 0x31);
84
85 ok_int(DecoratedFastcallFunc4(
str), 0x42);
86 ok_int(DecoratedFastcallFunc5(
str), 0x10041);
87#endif
90 ok_int(DataItem3, 0x10051);
91
93
94 return 0;
95}
int __fastcall FastcallFunc1(char *p1)
int __stdcall StdcallFunc0(void)
int __fastcall DecoratedFastcallFunc1(char *p1)
int __cdecl CdeclFunc1(char *p1)
int __stdcall StdcallFunc1(char *p1)
int __cdecl CdeclFunc0(void)
int __fastcall FastcallFunc0(void)
int __stdcall DecoratedStdcallFunc1(char *p1)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a