PageRenderTime 363ms CodeModel.GetById 201ms app.highlight 1ms RepoModel.GetById 160ms app.codeStats 0ms

/Modules/_ctypes/ctypes_dlfcn.h

http://unladen-swallow.googlecode.com/
C++ Header | 31 lines | 19 code | 9 blank | 3 comment | 0 complexity | 8b7b5aa34fe68d1cc9dbb89787aa2d4c MD5 | raw file
 1/*****************************************************************
 2  This file should be kept compatible with Python 2.3, see PEP 291.
 3 *****************************************************************/
 4
 5#ifndef _CTYPES_DLFCN_H_
 6#define _CTYPES_DLFCN_H_
 7
 8#ifdef __cplusplus
 9extern "C" {
10#endif /* __cplusplus */
11
12#ifndef MS_WIN32
13
14#include <dlfcn.h>
15
16#ifndef CTYPES_DARWIN_DLFCN
17
18#define ctypes_dlsym dlsym
19#define ctypes_dlerror dlerror
20#define ctypes_dlopen dlopen
21#define ctypes_dlclose dlclose
22#define ctypes_dladdr dladdr
23
24#endif /* !CTYPES_DARWIN_DLFCN */
25
26#endif /* !MS_WIN32 */
27
28#ifdef __cplusplus
29}
30#endif /* __cplusplus */
31#endif /* _CTYPES_DLFCN_H_ */