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