Function mentat_ffi::value_at_index_into_boolean
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn value_at_index_into_boolean(
values: *mut Vec<Binding>,
index: c_int
) -> i32
Returns the value of the Binding at index
as a boolean represented by a i32
.
If the value of the boolean
is true
then the value returned is 1.
If the value of the boolean
is false
then the value returned is 0.
Panics
If the ValueType of the Binding is not ValueType::Long.
If there is no value at index
.