[−][src]Function ejdb_sys::bson_append_code_w_scope
pub unsafe extern "C" fn bson_append_code_w_scope(
b: *mut bson,
name: *const c_char,
code: *const c_char,
scope: *const bson
) -> c_int
Append code to a bson with scope.
@param b the bson to append to. @param name the key for the code. @param str the string to append. @param scope a BSON object containing the scope.
@return BSON_OK or BSON_ERROR.