Mercurial > hg > xemacs-beta
comparison src/sysdll.h @ 1743:543769b89fed
[xemacs-hg @ 2003-10-14 05:02:57 by james]
New compiler.h contains compiler-specific defines. Use it everywhere.
author | james |
---|---|
date | Tue, 14 Oct 2003 05:03:13 +0000 |
parents | 9fc738581a9d |
children | 3fe1a35b705d |
comparison
equal
deleted
inserted
replaced
1742:7f92ee59c996 | 1743:543769b89fed |
---|---|
20 02111-1307, USA. */ | 20 02111-1307, USA. */ |
21 | 21 |
22 #ifndef INCLUDED_sysdll_h_ | 22 #ifndef INCLUDED_sysdll_h_ |
23 #define INCLUDED_sysdll_h_ | 23 #define INCLUDED_sysdll_h_ |
24 | 24 |
25 #ifdef __cplusplus | 25 BEGIN_C_DECLS |
26 extern "C" { | |
27 #endif | |
28 | 26 |
29 #if defined(WIN32_NATIVE) | 27 #if defined(WIN32_NATIVE) |
30 #define DLLEXPORT __declspec(dllexport) | 28 #define DLLEXPORT __declspec(dllexport) |
31 #elif defined(WIN16) | 29 #elif defined(WIN16) |
32 #define DLLEXPORT FAR PASCAL _EXPORT | 30 #define DLLEXPORT FAR PASCAL _EXPORT |
44 extern int dll_close(dll_handle); | 42 extern int dll_close(dll_handle); |
45 extern dll_func dll_function(dll_handle, const CIbyte *); | 43 extern dll_func dll_function(dll_handle, const CIbyte *); |
46 extern dll_var dll_variable(dll_handle, const CIbyte *); | 44 extern dll_var dll_variable(dll_handle, const CIbyte *); |
47 extern Lisp_Object dll_error(dll_handle); | 45 extern Lisp_Object dll_error(dll_handle); |
48 | 46 |
49 #ifdef __cplusplus | |
50 } | |
51 #endif | |
52 | |
53 /* More stand-ins ... */ | 47 /* More stand-ins ... */ |
54 | 48 |
55 #define Qdll_filename_encoding Qfile_name | 49 #define Qdll_filename_encoding Qfile_name |
56 #define Qdll_function_name_encoding Qnative | 50 #define Qdll_function_name_encoding Qnative |
57 | 51 |
52 END_C_DECLS | |
53 | |
58 #endif /* INCLUDED_sysdll_h_ */ | 54 #endif /* INCLUDED_sysdll_h_ */ |