Function bp7::ffi::bundle_new_default
source · [−]#[no_mangle]
pub unsafe extern "C" fn bundle_new_default(
src: *const c_char,
dst: *const c_char,
lifetime: u64,
ptr: *mut Buffer
) -> *mut Bundle
Expand description
Create a new bundle with standard configuration and a given payload
Safety
Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!