(
db: *mut sqlite3,
s: *const c_char,
argc: i32,
text_rep: i32,
p_app: *mut c_void,
x_func: Option<unsafe extern "C" fn(*mut sqlite3_context, i32, *mut *mut sqlite3_value)>,
| 415 | |
| 416 | #[cfg(feature = "static")] |
| 417 | pub unsafe fn sqlite3ext_create_function_v2( |
| 418 | db: *mut sqlite3, |
| 419 | s: *const c_char, |
| 420 | argc: i32, |
| 421 | text_rep: i32, |
| 422 | p_app: *mut c_void, |
| 423 | x_func: Option<unsafe extern "C" fn(*mut sqlite3_context, i32, *mut *mut sqlite3_value)>, |
| 424 | x_step: Option<unsafe extern "C" fn(*mut sqlite3_context, i32, *mut *mut sqlite3_value)>, |
| 425 | x_final: Option<unsafe extern "C" fn(*mut sqlite3_context)>, |
| 426 | destroy: Option<unsafe extern "C" fn(*mut c_void)>, |
| 427 | ) -> c_int { |
| 428 | libsqlite3_sys::sqlite3_create_function_v2( |
| 429 | db, s, argc, text_rep, p_app, x_func, x_step, x_final, destroy, |
| 430 | ) |
| 431 | } |
| 432 | #[cfg(not(feature = "static"))] |
| 433 | pub unsafe fn sqlite3ext_create_function_v2( |
| 434 | db: *mut sqlite3, |
no outgoing calls
no test coverage detected