Function ndk_glue::init

source · []
pub unsafe fn init(
    activity: *mut ANativeActivity,
    _saved_state: *mut u8,
    _saved_state_size: usize,
    main: fn()
)
Expand description

Safety

activity must either be null (resulting in a safe panic) or a pointer to a valid Android ANativeActivity.