Function mentat_ffi::typed_value_into_string
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn typed_value_into_string(
typed_value: *mut Binding
) -> *mut c_char
Consumes a Binding and returns the value as a C String
.
The caller is responsible for freeing the pointer returned from this function using
rust_c_string_destroy
.
Panics
If the ValueType of the Binding is not ValueType::Long.