[][src]Function ejdb_sys::bson_append_bool

pub unsafe extern "C" fn bson_append_bool(
    b: *mut bson,
    name: *const c_char,
    v: bson_bool_t
) -> c_int

Append a bson_bool_t to a bson.

@param b the bson to append to. @param name the key for the boolean value. @param v the bson_bool_t to append.

@return BSON_OK or BSON_ERROR.