Rev 8403 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8403 | Rev 8540 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | //#define stdcall __stdcall |
13 | //#define stdcall __stdcall |
14 | //#else |
14 | //#else |
15 | #define cdecl __attribute__ ((cdecl)) |
15 | #define cdecl __attribute__ ((cdecl)) |
16 | #define stdcall __attribute__ ((stdcall)) |
16 | #define stdcall __attribute__ ((stdcall)) |
17 | //#endif |
17 | //#endif |
18 | - | ||
- | 18 | typedef void* func_ptr; |
|
19 | typedef unsigned int dword; |
19 | typedef unsigned int dword; |
20 | typedef unsigned char byte; |
20 | typedef unsigned char byte; |
21 | typedef unsigned short word; |
21 | typedef unsigned short word; |
Line 22... | Line 22... | ||
22 | 22 | ||
Line 189... | Line 189... | ||
189 | extern void stdcall _ksys_sound_speaker_play(void* data); |
189 | extern void stdcall _ksys_sound_speaker_play(void* data); |
190 | //-------------------------------------------------------------------------------- |
190 | //-------------------------------------------------------------------------------- |
Line 191... | Line 191... | ||
191 | 191 | ||
192 | //------------------function for work with Dinamic Link Librarys(DLL)-------------- |
192 | //------------------function for work with Dinamic Link Librarys(DLL)-------------- |
193 | extern dword* stdcall _ksys_cofflib_load(char* name); |
193 | extern dword* stdcall _ksys_cofflib_load(char* name); |
194 | extern char* stdcall _ksys_cofflib_getproc(void* exp,char* sz_name); |
194 | extern func_ptr stdcall _ksys_cofflib_getproc(void* exp,char* sz_name); |
Line 195... | Line 195... | ||
195 | //--------------------------------------------------------------------------------- |
195 | //--------------------------------------------------------------------------------- |