/* NOT generated by build script but by bindgen command line */ /* Therefore manual modifications can be made */ type c_char = i8; type c_uchar = u8; type c_long = i32; type c_int = i32; type c_uint = u32; extern "C" { pub fn __faasm_read_state( key: *const c_char, buffer: *mut c_uchar, bufferLen: c_long, ); } extern "C" { pub fn __faasm_read_state_ptr( key: *const c_char, totalLen: c_long, ) -> *mut c_uchar; } extern "C" { pub fn __faasm_write_state( key: *const c_char, data: *const c_uchar, dataLen: c_long, ); } extern "C" { pub fn __faasm_append_state( key: *const c_char, data: *const c_uchar, dataLen: c_long, ); } extern "C" { pub fn __faasm_read_appended_state( key: *const c_char, data: *mut c_uchar, dataLen: c_long, nElems: c_long, ); } extern "C" { pub fn __faasm_clear_appended_state(key: *const c_char); } extern "C" { pub fn __faasm_write_state_offset( key: *const c_char, totalLen: c_long, offset: c_long, data: *const c_uchar, dataLen: c_long, ); } extern "C" { pub fn __faasm_write_state_from_file( key: *const c_char, filePath: *const c_char, ) -> c_uint; } extern "C" { pub fn __faasm_read_state_offset( key: *const c_char, totalLen: c_long, offset: c_long, buffer: *mut c_uchar, bufferLen: c_long, ); } extern "C" { pub fn __faasm_flag_state_dirty( key: *const c_char, totalLen: c_long, ); } extern "C" { pub fn __faasm_flag_state_offset_dirty( key: *const c_char, totalLen: c_long, offset: c_long, dataLen: c_long, ); } extern "C" { pub fn __faasm_read_state_offset_ptr( key: *const c_char, totalLen: c_long, offset: c_long, len: c_long, ) -> *mut c_uchar; } extern "C" { pub fn __faasm_push_state(key: *const c_char); } extern "C" { pub fn __faasm_push_state_partial(key: *const c_char); } extern "C" { pub fn __faasm_push_state_partial_mask( key: *const c_char, maskKey: *const c_char, ); } extern "C" { pub fn __faasm_pull_state(key: *const c_char, stateLen: c_long); } extern "C" { pub fn __faasm_lock_state_global(key: *const c_char); } extern "C" { pub fn __faasm_unlock_state_global(key: *const c_char); } extern "C" { pub fn __faasm_lock_state_read(key: *const c_char); } extern "C" { pub fn __faasm_unlock_state_read(key: *const c_char); } extern "C" { pub fn __faasm_lock_state_write(key: *const c_char); } extern "C" { pub fn __faasm_unlock_state_write(key: *const c_char); } extern "C" { pub fn __faasm_read_input( buffer: *mut c_uchar, bufferLen: c_long, ) -> c_long; } extern "C" { pub fn __faasm_write_output( output: *const c_uchar, outputLen: c_long, ); } extern "C" { pub fn __faasm_chain_function( name: *const c_char, inputData: *const c_uchar, inputDataSize: c_long, ) -> c_uint; } extern "C" { pub fn __faasm_chain_this( idx: c_int, inputData: *const c_uchar, inputDataSize: c_long, ) -> c_uint; } extern "C" { pub fn __faasm_await_call(messageId: c_uint) -> c_int; } extern "C" { pub fn __faasm_get_idx() -> c_int; } extern "C" { pub fn __faasm_get_py_user( buffer: *mut c_uchar, bufferLen: c_long, ); } extern "C" { pub fn __faasm_get_py_func( buffer: *mut c_uchar, bufferLen: c_long, ); } extern "C" { pub fn __faasm_get_py_idx() -> c_int; } extern "C" { pub fn __faasm_chain_py( idx: c_int, inputData: *const c_uchar, inputDataSize: c_long, ) -> c_uint; } extern "C" { pub fn __faasm_conf_flag(key: *const c_char) -> c_uint; } extern "C" { #[cfg(target_arch = "wasm32")] pub fn __println(line: *const i8); }