pub type HurrayStatus = i32;Expand description
Integer status code returned by every Hurray C ABI function.
Zero (HURRAY_OK) indicates success. All negative values indicate errors.
Positive values report a normal, non-error outcome that is not plain success;
HURRAY_END_OF_STREAM is the only one so far.
ยงExamples
use hurray_ffi::{HurrayStatus, HURRAY_OK};
fn check(s: HurrayStatus) {
assert_eq!(s, HURRAY_OK);
}
check(HURRAY_OK);