Function z3_sys::Z3_get_numeral_int[][src]

pub unsafe extern "C" fn Z3_get_numeral_int(
    c: Z3_context,
    v: Z3_ast,
    i: *mut c_int
) -> bool
Expand description

Similar to Z3_get_numeral_string, but only succeeds if the value can fit in a machine int. Return true if the call succeeded.

Preconditions:

  • Z3_get_ast_kind(c, v) == AstKind::Numeral

See also: