(statement: PyStrRef, vm: &VirtualMachine)
| 693 | |
| 694 | #[pyfunction] |
| 695 | fn complete_statement(statement: PyStrRef, vm: &VirtualMachine) -> PyResult<bool> { |
| 696 | let s = statement.to_cstring(vm)?; |
| 697 | let ret = unsafe { sqlite3_complete(s.as_ptr()) }; |
| 698 | Ok(ret == 1) |
| 699 | } |
| 700 | |
| 701 | #[pyfunction] |
| 702 | fn enable_callback_tracebacks(flag: bool) { |
nothing calls this directly
no test coverage detected