Function ctru_sys::LightEvent_Init

source ·
pub unsafe extern "C" fn LightEvent_Init(
    event: *mut LightEvent,
    reset_type: ResetType
)
Expand description

Initializes a light event.

§Arguments

  • event - Pointer to the event.
  • reset_type - Type of reset the event uses (RESET_ONESHOT/RESET_STICKY).