nautilus_model::ffi::identifiers::position_id

Function position_id_new

Source
#[no_mangle]
pub unsafe extern "C" fn position_id_new(
    ptr: *const c_char,
) -> PositionId
Expand description

Returns a Nautilus identifier from a C string pointer.

ยงSafety

  • Assumes ptr is a valid C string pointer.