Skip to main content

siglus_run_entry

Function siglus_run_entry 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn siglus_run_entry( game_root_utf8: *const c_char, ) -> i32
Expand description

Run the host event loop until exit.

ยงSafety

If non-null, game_root_utf8 must point to a NUL-terminated string in a single readable allocation of at most isize::MAX bytes, including the terminator. The bytes must remain valid and unchanged for this call. Call on the platform event-loop thread (the main thread on platforms that require it).