SHOW:
|
|
- or go back to the newest paste.
| 1 | #ifndef _DLL_H_ | |
| 2 | #define _DLL_H_ | |
| 3 | ||
| 4 | #if BUILDING_DLL | |
| 5 | # define DLLIMPORT __declspec (dllexport) | |
| 6 | #else /* Not BUILDING_DLL */ | |
| 7 | # define DLLIMPORT __declspec (dllimport) | |
| 8 | #endif /* Not BUILDING_DLL */ | |
| 9 | - | /* |
| 9 | + | |
| 10 | extern char* Exports[]; | |
| 11 | extern HINSTANCE hInstance; | |
| 12 | ||
| 13 | extern "C" int __declspec(dllexport) GetPluginABIVersion(); | |
| 14 | extern "C" int __declspec(dllexport) GetFunctionCount(); | |
| 15 | - | */ |
| 15 | + | |
| 16 | ||
| 17 | - | extern "C" bool DllMain(HINSTANCE, int, void*) __attribute__((stdcall)); |
| 17 | + | |
| 18 | #endif /* _DLL_H_ */ |