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

Function sqlite_version

crates/stdlib/src/_sqlite3.rs:132–135  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

130
131 #[pyattr]
132 fn sqlite_version(vm: &VirtualMachine) -> String {
133 let s = unsafe { sqlite3_libversion() };
134 ptr_to_str(s, vm).unwrap().to_owned()
135 }
136
137 #[pyattr]
138 fn threadsafety(_: &VirtualMachine) -> c_int {

Callers

nothing calls this directly

Calls 3

ptr_to_strFunction · 0.85
to_ownedMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected