~malept/ubuntu/lucid/python2.6/dev-dependency-fix

« back to all changes in this revision

Viewing changes to Modules/_ctypes/ctypes_dlfcn.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-13 12:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090213125100-uufgcb9yeqzujpqw
Tags: upstream-2.6.1
ImportĀ upstreamĀ versionĀ 2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
9
extern "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_ */