equal
deleted
inserted
replaced
60 CursorMove, |
60 CursorMove, |
61 CursorClick, |
61 CursorClick, |
62 } |
62 } |
63 |
63 |
64 #[no_mangle] |
64 #[no_mangle] |
65 pub extern "C" fn simple_event(engine_state: &mut EngineInstance, event_type: SimpleEventType) {} |
65 pub extern "C" fn simple_event(engine_state: &mut EngineInstance, event_type: SimpleEventType) { |
|
66 println!("{:?}", event_type); |
|
67 } |
66 |
68 |
67 #[no_mangle] |
69 #[no_mangle] |
68 pub extern "C" fn long_event( |
70 pub extern "C" fn long_event( |
69 engine_state: &mut EngineInstance, |
71 engine_state: &mut EngineInstance, |
70 event_type: LongEventType, |
72 event_type: LongEventType, |