Home
last modified time | relevance | path

Searched refs:get_ordinal (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/libloading/tests/
H A Dwindows.rs35 let windows: Symbol<unsafe fn() -> *const i8> = lib.get_ordinal(1).expect("function"); in test_ordinal()
45 let r: Result<Symbol<unsafe fn() -> *const i8>, _> = lib.get_ordinal(2); in test_ordinal_missing_fails()
47 let r: Result<Symbol<unsafe fn() -> *const i8>, _> = lib.get_ordinal(!0); in test_ordinal_missing_fails()
/third_party/rust/crates/libloading/src/os/windows/
H A Dmod.rs241 pub unsafe fn get_ordinal<T>(&self, ordinal: WORD) -> Result<Symbol<T>, crate::Error> { in get_ordinal() functions

Completed in 2 milliseconds