1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern {
    pub type OsConstantsDlopen;

    // #[wasm_bindgen(method, getter)]
    // pub fn RTLD_DEEPBIND(this: &OsConstantsDlopen) -> i32;

    #[wasm_bindgen(method, getter)]
    pub fn RTLD_GLOBAL(this: &OsConstantsDlopen) -> i32;

    #[wasm_bindgen(method, getter)]
    pub fn RTLD_LAZY(this: &OsConstantsDlopen) -> i32;

    #[wasm_bindgen(method, getter)]
    pub fn RTLD_LOCAL(this: &OsConstantsDlopen) -> i32;

    #[wasm_bindgen(method, getter)]
    pub fn RTLD_NOW(this: &OsConstantsDlopen) -> i32;
}