Function rvs::rvs_prev [] [src]

#[no_mangle]
pub extern "C" fn rvs_prev(model: *mut Model, handle: uint32_t) -> u32

Returns the previous value of a variable

Errors

  • Returns 0 if handle is invalid
  • Returns 0 if rvs_next has not been called

Panics

  • If any pointer arguments are null
  • If handle doesn't exist