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

orm: use errcode comparisons, instead of strcmp(sqlite3_errmsg,msg)

This commit is contained in:
Delyan Angelov
2020-07-10 10:14:30 +03:00
parent 581603f2bd
commit d3e676bdc1
4 changed files with 13 additions and 7 deletions

View File

@ -17,7 +17,6 @@ const (
stderr_value = 2
)
fn C.puts(charptr)
*/
fn builtin_init() {

View File

@ -43,6 +43,7 @@ fn C.chmod(byteptr, int) int
fn C.printf(byteptr, ...byteptr) int
fn C.puts(byteptr) int
fn C.fputs(byteptr) int