/* A simple example */
__declspec
(
dllexport
)
int
Func
(
int
num
)
__asm__
(
"_Func@4"
)
;
__declspec
(
dllexport
)
int
Func
(
int
num
)
{
return
num
*
2
;
}
/* Cannot export _Func@4: symbol not found
collect2: ld returned 1 exit status */