rust/lib-hedgewars-engine/src/lib.rs
changeset 14391 ef2fc0210362
parent 14356 97be4f6bf264
child 14394 4409344db447
equal deleted inserted replaced
14381:0f5223894914 14391:ef2fc0210362
    23     hedgehogs_number: u8,
    23     hedgehogs_number: u8,
    24     land: *const u8,
    24     land: *const u8,
    25 }
    25 }
    26 
    26 
    27 #[no_mangle]
    27 #[no_mangle]
    28 pub extern "C" fn protocol_version() -> u32 {
    28 pub extern "C" fn hedgewars_engine_protocol_version() -> u32 {
    29     56
    29     58
    30 }
    30 }
    31 
    31 
    32 #[no_mangle]
    32 #[no_mangle]
    33 pub extern "C" fn start_engine() -> *mut EngineInstance {
    33 pub extern "C" fn start_engine() -> *mut EngineInstance {
    34     let engine_state = Box::new(EngineInstance::new());
    34     let engine_state = Box::new(EngineInstance::new());