mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
dl: add more dlopen flags (#17184)
This commit is contained in:
parent
ed58b95a9d
commit
e70848a98b
@ -6,9 +6,14 @@ $if linux {
|
||||
#flag -ldl
|
||||
}
|
||||
|
||||
pub const rtld_now = C.RTLD_NOW
|
||||
|
||||
pub const rtld_lazy = C.RTLD_LAZY
|
||||
pub const (
|
||||
rtld_now = C.RTLD_NOW
|
||||
rtld_lazy = C.RTLD_LAZY
|
||||
rtld_global = C.RTLD_GLOBAL
|
||||
rtld_local = C.RTLD_LOCAL
|
||||
rtld_nodelete = C.RTLD_NODELETE
|
||||
rtld_noload = C.RTLD_NOLOAD
|
||||
)
|
||||
|
||||
fn C.dlopen(filename &char, flags int) voidptr
|
||||
|
||||
|
@ -1,8 +1,13 @@
|
||||
module dl
|
||||
|
||||
pub const rtld_now = 0
|
||||
|
||||
pub const rtld_lazy = 0
|
||||
pub const (
|
||||
rtld_now = 0
|
||||
rtld_lazy = 0
|
||||
rtld_global = 0
|
||||
rtld_local = 0
|
||||
rtld_nodelete = 0
|
||||
rtld_noload = 0
|
||||
)
|
||||
|
||||
fn C.LoadLibrary(libfilename &u16) voidptr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user