r4855@macbookpro: aamine | 2009-05-17 16:38:28 +0900

* import/dlfcn.hb: new declaration file dlfcn.hb.
 


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4219 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-05-17 07:39:02 +00:00
parent cf8e221756
commit ced081c9c3
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Sun May 17 16:37:26 2009 Minero Aoki <aamine@loveruby.net>
* import/dlfcn.hb: new declaration file dlfcn.hb.
Sun May 17 16:36:49 2009 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/entity/ToplevelScope.java: do not warn unused

16
import/dlfcn.hb Normal file
View File

@ -0,0 +1,16 @@
// dlfcn.hb
// from bits/dlfcn.h
const int RTLD_LAZY = 0x0001;
const int RTLD_NOW = 0x0002;
const int RTLD_NOLOAD = 0x0004;
const int RTLD_DEEPBIND = 0x0008;
const int RTLD_LOCAL = 0x0000;
const int RTLD_GLOBAL = 0x0100;
const int RTLD_NODELETE = 0x1000;
// from dlfcn.h
extern void* dlopen(char* filename, int flag);
extern char* dlerror(void);
extern void* dlsym(void* handle, char* symbol);
extern int dlclose(void* handle);