1 | #flag -ldl |
2 | } |
3 | |
4 | -pub const rtld_now = C.RTLD_NOW |
5 | - |
6 | -pub const rtld_lazy = C.RTLD_LAZY |
7 | +pub const ( |
8 | + rtld_now = C.RTLD_NOW |
9 | + rtld_lazy = C.RTLD_LAZY |
10 | + rtld_global = C.RTLD_GLOBAL |
11 | + rtld_local = C.RTLD_LOCAL |
12 | + rtld_nodelete = C.RTLD_NODELETE |
13 | + rtld_noload = C.RTLD_NOLOAD |
14 | +) |
15 | |
16 | fn C.dlopen(filename &char, flags int) voidptr |
17 | |
18 |