MCPcopy Index your code
hub / github.com/RustPython/RustPython / value_callback

Method value_callback

crates/stdlib/src/_sqlite3.rs:543–550  ·  view source on GitHub ↗
(context: *mut sqlite3_context)

Source from the content-addressed store, hash-verified

541 }
542
543 unsafe extern "C" fn value_callback(context: *mut sqlite3_context) {
544 let context = SqliteContext::from(context);
545 let (_, vm) = unsafe { (*context.user_data::<Self>()).retrieve() };
546 let instance = context.aggregate_context::<*const PyObject>();
547 let instance = unsafe { &**instance };
548
549 Self::callback_result_from_method(context, instance, "value", vm);
550 }
551
552 unsafe extern "C" fn inverse_callback(
553 context: *mut sqlite3_context,

Callers

nothing calls this directly

Calls 1

retrieveMethod · 0.80

Tested by

no test coverage detected