1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::os::raw::c_void;
use call::CCallback;
use raw::Local;
extern "C" {
#[link_name = "Neon_Module_ExecKernel"]
pub fn exec_kernel(kernel: *mut c_void, callback: extern fn(*mut c_void, *mut c_void, *mut c_void, *mut c_void), exports: Local, scope: *mut c_void, vm: *mut c_void);
#[link_name = "Neon_Module_ExecCallback"]
pub fn exec_callback(callback: CCallback, exports: Local, vm: *mut c_void);
#[link_name = "Neon_Module_GetVersion"]
pub fn get_version() -> i32;
}