mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
15 lines
205 B
C
15 lines
205 B
C
|
extern void exewrite (void);
|
||
|
__attribute((dllimport)) int global_a;
|
||
|
|
||
|
void
|
||
|
dllwrite (void)
|
||
|
{
|
||
|
global_a = 3;
|
||
|
exewrite ();
|
||
|
}
|
||
|
|
||
|
int _stdcall testdll_main(int p1, unsigned long p2, void* p3)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|