1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
use wasm_bindgen::prelude::*; #[wasm_bindgen] extern { pub type OsConstantsPriority; #[wasm_bindgen(method, getter)] pub fn PRIORITY_LOW(this: &OsConstantsPriority) -> i32; #[wasm_bindgen(method, getter)] pub fn PRIORITY_BELOW_NORMAL(this: &OsConstantsPriority) -> i32; #[wasm_bindgen(method, getter)] pub fn PRIORITY_NORMAL(this: &OsConstantsPriority) -> i32; #[wasm_bindgen(method, getter)] pub fn PRIORITY_ABOVE_NORMAL(this: &OsConstantsPriority) -> i32; #[wasm_bindgen(method, getter)] pub fn PRIORITY_HIGH(this: &OsConstantsPriority) -> i32; #[wasm_bindgen(method, getter)] pub fn PRIORITY_HIGHEST(this: &OsConstantsPriority) -> i32; }