[][src]Function rvs::rvs_get

#[no_mangle]pub extern "C" fn rvs_get(model: *mut Model, name: *const c_char) -> u32

Returns the handle of a variable

The callee owns the handle. The handle is valid until rvs_model_free() is called.

Errors

  • Returns 0 if variable does not exist

Panics

  • If any pointer arguments are null