node-sys 0.4.2

Raw bindings to the Node.js API for projects using wasm-bindgen.
Documentation
1
2
3
4
5
6
7
8
9
10
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern {
    pub type OsConstantsLibuv;

    // FIXME: throws an exception
    #[wasm_bindgen(method, getter)]
    pub fn UV_UDP_REUSEADDR(this: &OsConstantsLibuv) -> i32;
}