pub type AppInstance = *mut c_void;