Mercurial > hg > xemacs-beta
comparison src/sysdll.h @ 1811:3fe1a35b705d
[xemacs-hg @ 2003-11-29 22:11:47 by james]
Several module-related cleanups.
author | james |
---|---|
date | Sat, 29 Nov 2003 22:11:49 +0000 |
parents | 543769b89fed |
children | 0bcc1e4dfd91 |
comparison
equal
deleted
inserted
replaced
1810:6f8003dda838 | 1811:3fe1a35b705d |
---|---|
22 #ifndef INCLUDED_sysdll_h_ | 22 #ifndef INCLUDED_sysdll_h_ |
23 #define INCLUDED_sysdll_h_ | 23 #define INCLUDED_sysdll_h_ |
24 | 24 |
25 BEGIN_C_DECLS | 25 BEGIN_C_DECLS |
26 | 26 |
27 #if defined(WIN32_NATIVE) | |
28 #define DLLEXPORT __declspec(dllexport) | |
29 #elif defined(WIN16) | |
30 #define DLLEXPORT FAR PASCAL _EXPORT | |
31 #else | |
32 #define DLLEXPORT | |
33 #endif | |
34 | |
35 typedef void * dll_handle; | 27 typedef void * dll_handle; |
36 typedef void * dll_func; | 28 typedef void * dll_func; |
37 typedef void * dll_var; | 29 typedef void * dll_var; |
38 | 30 |
39 extern int dll_init(const Extbyte *); | 31 extern int dll_init(const Extbyte *); |
40 extern int dll_shutdown(void); | 32 extern int dll_shutdown(void); |
41 extern dll_handle dll_open(Lisp_Object); | 33 extern dll_handle dll_open(Lisp_Object); |
42 extern int dll_close(dll_handle); | 34 extern int dll_close(dll_handle); |
43 extern dll_func dll_function(dll_handle, const CIbyte *); | 35 extern dll_func dll_function(dll_handle, const CIbyte *); |
44 extern dll_var dll_variable(dll_handle, const CIbyte *); | 36 extern dll_var dll_variable(dll_handle, const CIbyte *); |
45 extern Lisp_Object dll_error(dll_handle); | 37 extern Lisp_Object dll_error(void); |
46 | 38 |
47 /* More stand-ins ... */ | 39 /* More stand-ins ... */ |
48 | 40 |
49 #define Qdll_filename_encoding Qfile_name | 41 #define Qdll_filename_encoding Qfile_name |
50 #define Qdll_function_name_encoding Qnative | 42 #define Qdll_function_name_encoding Qnative |