OLD | NEW |
---|---|
(Empty) | |
1 #ifndef __DLWRAP_H | |
2 | |
3 /* Drop-in replacement for dlfcn.h */ | |
4 #ifdef __cplusplus | |
5 extern "C" { | |
6 #endif | |
7 | |
8 void *pnacl_dlopen(const char *filename, int flag); | |
9 char *pnacl_dlerror(void); | |
10 void *pnacl_dlsym(void *handle, const char *symbol); | |
11 int pnacl_dlclose(void *handle); | |
12 | |
13 #ifdef __cplusplus | |
14 } | |
15 #endif | |
16 | |
17 #define dlopen pnacl_dlopen | |
18 #define dlerror pnacl_dlerror | |
19 #define dlsym pnacl_dlsym | |
20 #define dlclose pnacl_dlclose | |
21 | |
22 #define RTLD_NOW 0x2 | |
23 | |
24 #endif | |
OLD | NEW |