Skip to content

Commit fcf1bb2

Browse files
docs: do not name a C function parameter sql
55d43d2 rejects `sql` as a parameter name, so the "Calling C from V" SQLite example no longer compiled: error: unexpected keyword `sql`, expecting name That is one of the two examples that make `check-markdown` fail on master. Rename the parameter of `C.sqlite3_exec` to `query`. Co-Authored-By: WOZCODE <contact@withwoz.com>
1 parent 63721ac commit fcf1bb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎doc/docs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8857,7 +8857,7 @@ fn C.sqlite3_step(&C.sqlite3_stmt)
88578857
88588858
fn C.sqlite3_finalize(&C.sqlite3_stmt)
88598859
8860-
fn C.sqlite3_exec(db &C.sqlite3, sql &char, cb FnSqlite3Callback, cb_arg voidptr, emsg &&char) int
8860+
fn C.sqlite3_exec(db &C.sqlite3, query &char, cb FnSqlite3Callback, cb_arg voidptr, emsg &&char) int
88618861
88628862
fn C.sqlite3_free(voidptr)
88638863

0 commit comments

Comments
 (0)