1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

force C function definitions

This commit is contained in:
Alexander Medvednikov
2019-11-24 06:27:02 +03:00
parent 1f93bb5a9a
commit e9e931fe4a
22 changed files with 227 additions and 84 deletions

View File

@@ -34,6 +34,11 @@ pub fn (db DB) q_int(query string) int {
}
fn C.sqlite3_column_text(voidptr, int) byteptr
fn C.sqlite3_column_int(voidptr, int) int
fn C.sqlite3_open()
fn C.sqlite3_step() int
fn C.sqlite3_prepare_v2()
fn C.sqlite3_finalize()
pub fn (db DB) q_string(query string) string {
stmt := &C.sqlite3_stmt{!}