[][src]Function xaynet_mobile::ffi::xaynet_ffi_settings_new

#[no_mangle]pub unsafe extern "C" fn xaynet_ffi_settings_new() -> *mut Settings

Create new Settings and return a pointer to it.

Safety

The Settings created by this function must be destroyed with xaynet_ffi_settings_destroy(). Attempting to free the memory from the other side of the FFI is UB.