mt-lang 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/index.html +4 -3
- data/lib/milk_tea/base.rb +1 -1
- data/std/asset_pack.mt +267 -0
- data/std/async/libuv_runtime.mt +539 -0
- data/std/async/mailbox.mt +191 -0
- data/std/async/runtime.mt +87 -0
- data/std/async.mt +87 -0
- data/std/base64.mt +185 -0
- data/std/behavior_tree.mt +396 -0
- data/std/binary.mt +314 -0
- data/std/binary_heap.mt +157 -0
- data/std/bitset.mt +239 -0
- data/std/box2d.mt +535 -0
- data/std/bytes.mt +46 -0
- data/std/c/box2d.mt +1254 -0
- data/std/c/cgltf.mt +647 -0
- data/std/c/cjson.mt +106 -0
- data/std/c/crypto.mt +11 -0
- data/std/c/crypto_support.h +51 -0
- data/std/c/ctype.mt +19 -0
- data/std/c/ctype_bindgen.h +29 -0
- data/std/c/curl.mt +1223 -0
- data/std/c/enet.mt +473 -0
- data/std/c/errno.mt +41 -0
- data/std/c/errno_bindgen.h +53 -0
- data/std/c/flecs.mt +2945 -0
- data/std/c/fs.linux.mt +43 -0
- data/std/c/fs.windows.mt +43 -0
- data/std/c/fs_support.h +954 -0
- data/std/c/gl.mt +2065 -0
- data/std/c/gl_registry_helpers.h +10748 -0
- data/std/c/glfw.mt +499 -0
- data/std/c/libc.mt +167 -0
- data/std/c/libuv.mt +1491 -0
- data/std/c/math.mt +22 -0
- data/std/c/math_bindgen.h +31 -0
- data/std/c/miniaudio.mt +3420 -0
- data/std/c/pcre2.mt +735 -0
- data/std/c/process.mt +58 -0
- data/std/c/process_support.h +1147 -0
- data/std/c/raygui.mt +1602 -0
- data/std/c/raylib.mt +1245 -0
- data/std/c/raymath.mt +163 -0
- data/std/c/rlgl.mt +434 -0
- data/std/c/rpng.mt +60 -0
- data/std/c/rres.mt +187 -0
- data/std/c/sdl3.mt +4132 -0
- data/std/c/sqlite3.mt +951 -0
- data/std/c/stb_image.mt +52 -0
- data/std/c/stb_image_resize2.mt +128 -0
- data/std/c/stb_image_write.mt +19 -0
- data/std/c/stb_rect_pack.mt +38 -0
- data/std/c/stb_truetype.mt +175 -0
- data/std/c/stb_vorbis.mt +31 -0
- data/std/c/stdio.mt +90 -0
- data/std/c/steamworks.h +5769 -0
- data/std/c/steamworks.mt +4771 -0
- data/std/c/string.mt +16 -0
- data/std/c/string_bindgen.h +36 -0
- data/std/c/sync.mt +33 -0
- data/std/c/sync_support.h +219 -0
- data/std/c/terminal.mt +24 -0
- data/std/c/terminal_support.h +408 -0
- data/std/c/time.mt +26 -0
- data/std/c/tls.mt +24 -0
- data/std/c/tls_support.h +626 -0
- data/std/c/tracy.mt +53 -0
- data/std/c/zlib.mt +20 -0
- data/std/c/zlib_support.h +239 -0
- data/std/c/zstd.mt +231 -0
- data/std/cell.mt +60 -0
- data/std/cgltf.mt +115 -0
- data/std/cjson.mt +90 -0
- data/std/cli.mt +768 -0
- data/std/cookie.mt +198 -0
- data/std/counter.mt +160 -0
- data/std/crypto.mt +74 -0
- data/std/cstring.mt +13 -0
- data/std/ctype.mt +52 -0
- data/std/curl/runtime.mt +261 -0
- data/std/curl.mt +38 -0
- data/std/deque.mt +348 -0
- data/std/encoding.mt +93 -0
- data/std/enet.mt +133 -0
- data/std/env.mt +41 -0
- data/std/errno.mt +47 -0
- data/std/flecs.mt +978 -0
- data/std/fmt.mt +271 -0
- data/std/fs.linux.mt +696 -0
- data/std/fs.windows.mt +711 -0
- data/std/fsm.mt +267 -0
- data/std/gl.mt +2062 -0
- data/std/glfw.mt +471 -0
- data/std/goap.mt +342 -0
- data/std/graph.mt +521 -0
- data/std/gzip.mt +77 -0
- data/std/hash.mt +429 -0
- data/std/http/server.mt +810 -0
- data/std/http.mt +1227 -0
- data/std/intern.mt +53 -0
- data/std/jobs.mt +288 -0
- data/std/json.mt +627 -0
- data/std/libc.mt +34 -0
- data/std/libuv.mt +554 -0
- data/std/linear_algebra.mt +243 -0
- data/std/linked_map.mt +372 -0
- data/std/linked_map_view.mt +49 -0
- data/std/linked_set.mt +117 -0
- data/std/log.mt +69 -0
- data/std/map.mt +418 -0
- data/std/math.mt +24 -0
- data/std/mem/arena.mt +137 -0
- data/std/mem/endian.mt +51 -0
- data/std/mem/heap.mt +298 -0
- data/std/mem/pool.mt +164 -0
- data/std/mem/stack.mt +47 -0
- data/std/mem/tracking.mt +119 -0
- data/std/miniaudio.mt +1299 -0
- data/std/multiset.mt +191 -0
- data/std/net/channel.mt +727 -0
- data/std/net/clock.mt +237 -0
- data/std/net/discovery.mt +277 -0
- data/std/net/lobby.mt +813 -0
- data/std/net/manager.mt +539 -0
- data/std/net/mux.mt +839 -0
- data/std/net/nat.mt +122 -0
- data/std/net/packet.mt +219 -0
- data/std/net/punch.mt +162 -0
- data/std/net/rpc.mt +119 -0
- data/std/net/session.mt +1157 -0
- data/std/net/stun.mt +252 -0
- data/std/net/sync.mt +183 -0
- data/std/net/turn.mt +459 -0
- data/std/net.mt +2944 -0
- data/std/oauth2.mt +408 -0
- data/std/option.mt +51 -0
- data/std/ordered_map.mt +497 -0
- data/std/ordered_set.mt +348 -0
- data/std/path.mt +368 -0
- data/std/pcre2/runtime.mt +35 -0
- data/std/pcre2.mt +78 -0
- data/std/priority_queue.mt +55 -0
- data/std/process.mt +837 -0
- data/std/queue.mt +55 -0
- data/std/random.mt +146 -0
- data/std/raygui.mt +99 -0
- data/std/raylib/debug_console.mt +71 -0
- data/std/raylib/easing.mt +388 -0
- data/std/raylib/packed_assets.mt +255 -0
- data/std/raylib/runtime.mt +30 -0
- data/std/raylib/tracy_gpu.mt +37 -0
- data/std/raylib.mt +1510 -0
- data/std/raymath.mt +153 -0
- data/std/result.mt +89 -0
- data/std/rlgl.mt +268 -0
- data/std/rpng.mt +46 -0
- data/std/rres.mt +36 -0
- data/std/sdl3/runtime.mt +54 -0
- data/std/sdl3.mt +1731 -0
- data/std/serialize.mt +68 -0
- data/std/set.mt +124 -0
- data/std/spatial.mt +176 -0
- data/std/sqlite3.mt +151 -0
- data/std/stack.mt +55 -0
- data/std/stb_image.mt +47 -0
- data/std/stb_image_resize2.mt +41 -0
- data/std/stb_image_write.mt +17 -0
- data/std/stb_rect_pack.mt +15 -0
- data/std/stb_truetype.mt +77 -0
- data/std/stb_vorbis.mt +16 -0
- data/std/stdio.mt +88 -0
- data/std/steamworks.mt +1542 -0
- data/std/str.mt +293 -0
- data/std/string.mt +234 -0
- data/std/sync.mt +194 -0
- data/std/tar.mt +704 -0
- data/std/terminal.mt +1002 -0
- data/std/testing.mt +266 -0
- data/std/thread.mt +120 -0
- data/std/time.mt +105 -0
- data/std/tls.mt +616 -0
- data/std/toml.mt +1310 -0
- data/std/tracy.mt +42 -0
- data/std/uri.mt +118 -0
- data/std/url.mt +372 -0
- data/std/vec.mt +433 -0
- data/std/zstd.mt +94 -0
- metadata +187 -2
data/std/c/sqlite3.mt
ADDED
|
@@ -0,0 +1,951 @@
|
|
|
1
|
+
# generated by mtc bindgen from /usr/include/sqlite3.h
|
|
2
|
+
external
|
|
3
|
+
|
|
4
|
+
link "sqlite3"
|
|
5
|
+
include "sqlite3.h"
|
|
6
|
+
|
|
7
|
+
struct sqlite3_index_constraint = c"struct sqlite3_index_constraint":
|
|
8
|
+
iColumn: int
|
|
9
|
+
op: ubyte
|
|
10
|
+
usable: ubyte
|
|
11
|
+
iTermOffset: int
|
|
12
|
+
|
|
13
|
+
struct sqlite3_index_orderby = c"struct sqlite3_index_orderby":
|
|
14
|
+
iColumn: int
|
|
15
|
+
desc: ubyte
|
|
16
|
+
|
|
17
|
+
struct sqlite3_index_constraint_usage = c"struct sqlite3_index_constraint_usage":
|
|
18
|
+
argvIndex: int
|
|
19
|
+
omit: ubyte
|
|
20
|
+
|
|
21
|
+
opaque va_list = c"va_list"
|
|
22
|
+
|
|
23
|
+
external function sqlite3_libversion() -> cstr
|
|
24
|
+
external function sqlite3_sourceid() -> cstr
|
|
25
|
+
external function sqlite3_libversion_number() -> int
|
|
26
|
+
external function sqlite3_compileoption_used(zOptName: cstr) -> int
|
|
27
|
+
external function sqlite3_compileoption_get(N: int) -> cstr
|
|
28
|
+
external function sqlite3_threadsafe() -> int
|
|
29
|
+
|
|
30
|
+
opaque sqlite3 = c"sqlite3"
|
|
31
|
+
|
|
32
|
+
type sqlite3_int64 = long
|
|
33
|
+
type sqlite3_uint64 = ulong
|
|
34
|
+
|
|
35
|
+
external function sqlite3_close(arg0: ptr[sqlite3]) -> int
|
|
36
|
+
external function sqlite3_close_v2(arg0: ptr[sqlite3]) -> int
|
|
37
|
+
|
|
38
|
+
type sqlite3_callback = fn(arg0: ptr[void], arg1: int, arg2: ptr[ptr[char]], arg3: ptr[ptr[char]]) -> int
|
|
39
|
+
|
|
40
|
+
external function sqlite3_exec(arg0: ptr[sqlite3], sql: cstr, callback: fn(arg0: ptr[void], arg1: int, arg2: ptr[ptr[char]], arg3: ptr[ptr[char]]) -> int, arg3: ptr[void], errmsg: ptr[ptr[char]]) -> int
|
|
41
|
+
|
|
42
|
+
struct sqlite3_file:
|
|
43
|
+
pMethods: const_ptr[sqlite3_io_methods]
|
|
44
|
+
|
|
45
|
+
struct sqlite3_io_methods:
|
|
46
|
+
iVersion: int
|
|
47
|
+
xClose: fn(arg0: ptr[sqlite3_file]) -> int
|
|
48
|
+
xRead: fn(arg0: ptr[sqlite3_file], arg1: ptr[void], arg2: int, arg3: sqlite3_int64) -> int
|
|
49
|
+
xWrite: fn(arg0: ptr[sqlite3_file], arg1: const_ptr[void], arg2: int, arg3: sqlite3_int64) -> int
|
|
50
|
+
xTruncate: fn(arg0: ptr[sqlite3_file], arg1: sqlite3_int64) -> int
|
|
51
|
+
xSync: fn(arg0: ptr[sqlite3_file], arg1: int) -> int
|
|
52
|
+
xFileSize: fn(arg0: ptr[sqlite3_file], arg1: ptr[sqlite3_int64]) -> int
|
|
53
|
+
xLock: fn(arg0: ptr[sqlite3_file], arg1: int) -> int
|
|
54
|
+
xUnlock: fn(arg0: ptr[sqlite3_file], arg1: int) -> int
|
|
55
|
+
xCheckReservedLock: fn(arg0: ptr[sqlite3_file], arg1: ptr[int]) -> int
|
|
56
|
+
xFileControl: fn(arg0: ptr[sqlite3_file], arg1: int, arg2: ptr[void]) -> int
|
|
57
|
+
xSectorSize: fn(arg0: ptr[sqlite3_file]) -> int
|
|
58
|
+
xDeviceCharacteristics: fn(arg0: ptr[sqlite3_file]) -> int
|
|
59
|
+
xShmMap: fn(arg0: ptr[sqlite3_file], arg1: int, arg2: int, arg3: int, arg4: ptr[ptr[void]]) -> int
|
|
60
|
+
xShmLock: fn(arg0: ptr[sqlite3_file], arg1: int, arg2: int, arg3: int) -> int
|
|
61
|
+
xShmBarrier: fn(arg0: ptr[sqlite3_file]) -> void
|
|
62
|
+
xShmUnmap: fn(arg0: ptr[sqlite3_file], arg1: int) -> int
|
|
63
|
+
xFetch: fn(arg0: ptr[sqlite3_file], arg1: sqlite3_int64, arg2: int, arg3: ptr[ptr[void]]) -> int
|
|
64
|
+
xUnfetch: fn(arg0: ptr[sqlite3_file], arg1: sqlite3_int64, arg2: ptr[void]) -> int
|
|
65
|
+
|
|
66
|
+
opaque sqlite3_mutex = c"sqlite3_mutex"
|
|
67
|
+
opaque sqlite3_api_routines = c"sqlite3_api_routines"
|
|
68
|
+
|
|
69
|
+
type sqlite3_filename = cstr
|
|
70
|
+
type sqlite3_syscall_ptr = fn() -> void
|
|
71
|
+
|
|
72
|
+
struct sqlite3_vfs:
|
|
73
|
+
iVersion: int
|
|
74
|
+
szOsFile: int
|
|
75
|
+
mxPathname: int
|
|
76
|
+
pNext: ptr[sqlite3_vfs]
|
|
77
|
+
zName: cstr
|
|
78
|
+
pAppData: ptr[void]
|
|
79
|
+
xOpen: fn(arg0: ptr[sqlite3_vfs], arg1: sqlite3_filename, arg2: ptr[sqlite3_file], arg3: int, arg4: ptr[int]) -> int
|
|
80
|
+
xDelete: fn(arg0: ptr[sqlite3_vfs], arg1: cstr, arg2: int) -> int
|
|
81
|
+
xAccess: fn(arg0: ptr[sqlite3_vfs], arg1: cstr, arg2: int, arg3: ptr[int]) -> int
|
|
82
|
+
xFullPathname: fn(arg0: ptr[sqlite3_vfs], arg1: cstr, arg2: int, arg3: ptr[char]) -> int
|
|
83
|
+
xDlOpen: fn(arg0: ptr[sqlite3_vfs], arg1: cstr) -> ptr[void]
|
|
84
|
+
xDlError: fn(arg0: ptr[sqlite3_vfs], arg1: int, arg2: ptr[char]) -> void
|
|
85
|
+
xDlSym: fn(arg0: ptr[sqlite3_vfs], arg1: ptr[void], arg2: cstr) -> fn() -> void
|
|
86
|
+
xDlClose: fn(arg0: ptr[sqlite3_vfs], arg1: ptr[void]) -> void
|
|
87
|
+
xRandomness: fn(arg0: ptr[sqlite3_vfs], arg1: int, arg2: ptr[char]) -> int
|
|
88
|
+
xSleep: fn(arg0: ptr[sqlite3_vfs], arg1: int) -> int
|
|
89
|
+
xCurrentTime: fn(arg0: ptr[sqlite3_vfs], arg1: ptr[double]) -> int
|
|
90
|
+
xGetLastError: fn(arg0: ptr[sqlite3_vfs], arg1: int, arg2: ptr[char]) -> int
|
|
91
|
+
xCurrentTimeInt64: fn(arg0: ptr[sqlite3_vfs], arg1: ptr[sqlite3_int64]) -> int
|
|
92
|
+
xSetSystemCall: fn(arg0: ptr[sqlite3_vfs], arg1: cstr, arg2: sqlite3_syscall_ptr) -> int
|
|
93
|
+
xGetSystemCall: fn(arg0: ptr[sqlite3_vfs], arg1: cstr) -> sqlite3_syscall_ptr
|
|
94
|
+
xNextSystemCall: fn(arg0: ptr[sqlite3_vfs], arg1: cstr) -> cstr
|
|
95
|
+
|
|
96
|
+
external function sqlite3_initialize() -> int
|
|
97
|
+
external function sqlite3_shutdown() -> int
|
|
98
|
+
external function sqlite3_os_init() -> int
|
|
99
|
+
external function sqlite3_os_end() -> int
|
|
100
|
+
external function sqlite3_config(arg0: int, ...) -> int
|
|
101
|
+
external function sqlite3_db_config(arg0: ptr[sqlite3], op: int, ...) -> int
|
|
102
|
+
|
|
103
|
+
struct sqlite3_mem_methods:
|
|
104
|
+
xMalloc: fn(arg0: int) -> ptr[void]
|
|
105
|
+
xFree: fn(arg0: ptr[void]) -> void
|
|
106
|
+
xRealloc: fn(arg0: ptr[void], arg1: int) -> ptr[void]
|
|
107
|
+
xSize: fn(arg0: ptr[void]) -> int
|
|
108
|
+
xRoundup: fn(arg0: int) -> int
|
|
109
|
+
xInit: fn(arg0: ptr[void]) -> int
|
|
110
|
+
xShutdown: fn(arg0: ptr[void]) -> void
|
|
111
|
+
pAppData: ptr[void]
|
|
112
|
+
|
|
113
|
+
external function sqlite3_extended_result_codes(arg0: ptr[sqlite3], onoff: int) -> int
|
|
114
|
+
external function sqlite3_last_insert_rowid(arg0: ptr[sqlite3]) -> sqlite3_int64
|
|
115
|
+
external function sqlite3_set_last_insert_rowid(arg0: ptr[sqlite3], arg1: long) -> void
|
|
116
|
+
external function sqlite3_changes(arg0: ptr[sqlite3]) -> int
|
|
117
|
+
external function sqlite3_changes64(arg0: ptr[sqlite3]) -> sqlite3_int64
|
|
118
|
+
external function sqlite3_total_changes(arg0: ptr[sqlite3]) -> int
|
|
119
|
+
external function sqlite3_total_changes64(arg0: ptr[sqlite3]) -> sqlite3_int64
|
|
120
|
+
external function sqlite3_interrupt(arg0: ptr[sqlite3]) -> void
|
|
121
|
+
external function sqlite3_is_interrupted(arg0: ptr[sqlite3]) -> int
|
|
122
|
+
external function sqlite3_complete(sql: cstr) -> int
|
|
123
|
+
external function sqlite3_complete16(sql: const_ptr[void]) -> int
|
|
124
|
+
external function sqlite3_busy_handler(arg0: ptr[sqlite3], arg1: fn(arg0: ptr[void], arg1: int) -> int, arg2: ptr[void]) -> int
|
|
125
|
+
external function sqlite3_busy_timeout(arg0: ptr[sqlite3], ms: int) -> int
|
|
126
|
+
external function sqlite3_setlk_timeout(arg0: ptr[sqlite3], ms: int, flags_: int) -> int
|
|
127
|
+
external function sqlite3_get_table(db: ptr[sqlite3], zSql: cstr, pazResult: ptr[ptr[ptr[char]]], pnRow: ptr[int], pnColumn: ptr[int], pzErrmsg: ptr[ptr[char]]) -> int
|
|
128
|
+
external function sqlite3_free_table(result: ptr[ptr[char]]) -> void
|
|
129
|
+
external function sqlite3_mprintf(arg0: cstr, ...) -> ptr[char]
|
|
130
|
+
external function sqlite3_vmprintf(arg0: cstr, arg1: va_list) -> ptr[char]
|
|
131
|
+
external function sqlite3_snprintf(arg0: int, arg1: ptr[char], arg2: cstr, ...) -> ptr[char]
|
|
132
|
+
external function sqlite3_vsnprintf(arg0: int, arg1: ptr[char], arg2: cstr, arg3: va_list) -> ptr[char]
|
|
133
|
+
external function sqlite3_malloc(arg0: int) -> ptr[void]
|
|
134
|
+
external function sqlite3_malloc64(arg0: ulong) -> ptr[void]
|
|
135
|
+
external function sqlite3_realloc(arg0: ptr[void], arg1: int) -> ptr[void]
|
|
136
|
+
external function sqlite3_realloc64(arg0: ptr[void], arg1: ulong) -> ptr[void]
|
|
137
|
+
external function sqlite3_free(arg0: ptr[void]) -> void
|
|
138
|
+
external function sqlite3_msize(arg0: ptr[void]) -> sqlite3_uint64
|
|
139
|
+
external function sqlite3_memory_used() -> sqlite3_int64
|
|
140
|
+
external function sqlite3_memory_highwater(resetFlag: int) -> sqlite3_int64
|
|
141
|
+
external function sqlite3_randomness(N: int, P: ptr[void]) -> void
|
|
142
|
+
external function sqlite3_set_authorizer(arg0: ptr[sqlite3], xAuth: fn(arg0: ptr[void], arg1: int, arg2: cstr, arg3: cstr, arg4: cstr, arg5: cstr) -> int, pUserData: ptr[void]) -> int
|
|
143
|
+
external function sqlite3_trace(arg0: ptr[sqlite3], xTrace: fn(arg0: ptr[void], arg1: cstr) -> void, arg2: ptr[void]) -> ptr[void]
|
|
144
|
+
external function sqlite3_profile(arg0: ptr[sqlite3], xProfile: fn(arg0: ptr[void], arg1: cstr, arg2: sqlite3_uint64) -> void, arg2: ptr[void]) -> ptr[void]
|
|
145
|
+
external function sqlite3_trace_v2(arg0: ptr[sqlite3], uMask: uint, xCallback: fn(arg0: uint, arg1: ptr[void], arg2: ptr[void], arg3: ptr[void]) -> int, pCtx: ptr[void]) -> int
|
|
146
|
+
external function sqlite3_progress_handler(arg0: ptr[sqlite3], arg1: int, arg2: fn(arg0: ptr[void]) -> int, arg3: ptr[void]) -> void
|
|
147
|
+
external function sqlite3_open(filename: cstr, ppDb: ptr[ptr[sqlite3]]) -> int
|
|
148
|
+
external function sqlite3_open16(filename: const_ptr[void], ppDb: ptr[ptr[sqlite3]]) -> int
|
|
149
|
+
external function sqlite3_open_v2(filename: cstr, ppDb: ptr[ptr[sqlite3]], flags_: int, zVfs: cstr) -> int
|
|
150
|
+
external function sqlite3_uri_parameter(z: cstr, zParam: cstr) -> cstr
|
|
151
|
+
external function sqlite3_uri_boolean(z: cstr, zParam: cstr, bDefault: int) -> int
|
|
152
|
+
external function sqlite3_uri_int64(arg0: cstr, arg1: cstr, arg2: long) -> sqlite3_int64
|
|
153
|
+
external function sqlite3_uri_key(z: cstr, N: int) -> cstr
|
|
154
|
+
external function sqlite3_filename_database(arg0: cstr) -> cstr
|
|
155
|
+
external function sqlite3_filename_journal(arg0: cstr) -> cstr
|
|
156
|
+
external function sqlite3_filename_wal(arg0: cstr) -> cstr
|
|
157
|
+
external function sqlite3_database_file_object(arg0: cstr) -> ptr[sqlite3_file]
|
|
158
|
+
external function sqlite3_create_filename(zDatabase: cstr, zJournal: cstr, zWal: cstr, nParam: int, azParam: ptr[cstr]) -> sqlite3_filename
|
|
159
|
+
external function sqlite3_free_filename(arg0: cstr) -> void
|
|
160
|
+
external function sqlite3_errcode(db: ptr[sqlite3]) -> int
|
|
161
|
+
external function sqlite3_extended_errcode(db: ptr[sqlite3]) -> int
|
|
162
|
+
external function sqlite3_errmsg(arg0: ptr[sqlite3]) -> cstr
|
|
163
|
+
external function sqlite3_errmsg16(arg0: ptr[sqlite3]) -> const_ptr[void]
|
|
164
|
+
external function sqlite3_errstr(arg0: int) -> cstr
|
|
165
|
+
external function sqlite3_error_offset(db: ptr[sqlite3]) -> int
|
|
166
|
+
external function sqlite3_set_errmsg(db: ptr[sqlite3], errcode: int, zErrMsg: cstr) -> int
|
|
167
|
+
|
|
168
|
+
opaque sqlite3_stmt = c"sqlite3_stmt"
|
|
169
|
+
|
|
170
|
+
external function sqlite3_limit(arg0: ptr[sqlite3], id: int, newVal: int) -> int
|
|
171
|
+
external function sqlite3_prepare(db: ptr[sqlite3], zSql: cstr, nByte: int, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[cstr]) -> int
|
|
172
|
+
external function sqlite3_prepare_v2(db: ptr[sqlite3], zSql: cstr, nByte: int, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[cstr]) -> int
|
|
173
|
+
external function sqlite3_prepare_v3(db: ptr[sqlite3], zSql: cstr, nByte: int, prepFlags: uint, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[cstr]) -> int
|
|
174
|
+
external function sqlite3_prepare16(db: ptr[sqlite3], zSql: const_ptr[void], nByte: int, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[const_ptr[void]]) -> int
|
|
175
|
+
external function sqlite3_prepare16_v2(db: ptr[sqlite3], zSql: const_ptr[void], nByte: int, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[const_ptr[void]]) -> int
|
|
176
|
+
external function sqlite3_prepare16_v3(db: ptr[sqlite3], zSql: const_ptr[void], nByte: int, prepFlags: uint, ppStmt: ptr[ptr[sqlite3_stmt]], pzTail: ptr[const_ptr[void]]) -> int
|
|
177
|
+
external function sqlite3_sql(pStmt: ptr[sqlite3_stmt]) -> cstr
|
|
178
|
+
external function sqlite3_expanded_sql(pStmt: ptr[sqlite3_stmt]) -> ptr[char]
|
|
179
|
+
external function sqlite3_stmt_readonly(pStmt: ptr[sqlite3_stmt]) -> int
|
|
180
|
+
external function sqlite3_stmt_isexplain(pStmt: ptr[sqlite3_stmt]) -> int
|
|
181
|
+
external function sqlite3_stmt_explain(pStmt: ptr[sqlite3_stmt], eMode: int) -> int
|
|
182
|
+
external function sqlite3_stmt_busy(arg0: ptr[sqlite3_stmt]) -> int
|
|
183
|
+
|
|
184
|
+
opaque sqlite3_value = c"sqlite3_value"
|
|
185
|
+
opaque sqlite3_context = c"sqlite3_context"
|
|
186
|
+
|
|
187
|
+
external function sqlite3_bind_blob(arg0: ptr[sqlite3_stmt], arg1: int, arg2: const_ptr[void], n: int, arg4: fn(arg0: ptr[void]) -> void) -> int
|
|
188
|
+
external function sqlite3_bind_blob64(arg0: ptr[sqlite3_stmt], arg1: int, arg2: const_ptr[void], arg3: ulong, arg4: fn(arg0: ptr[void]) -> void) -> int
|
|
189
|
+
external function sqlite3_bind_double(arg0: ptr[sqlite3_stmt], arg1: int, arg2: double) -> int
|
|
190
|
+
external function sqlite3_bind_int(arg0: ptr[sqlite3_stmt], arg1: int, arg2: int) -> int
|
|
191
|
+
external function sqlite3_bind_int64(arg0: ptr[sqlite3_stmt], arg1: int, arg2: long) -> int
|
|
192
|
+
external function sqlite3_bind_null(arg0: ptr[sqlite3_stmt], arg1: int) -> int
|
|
193
|
+
external function sqlite3_bind_text(arg0: ptr[sqlite3_stmt], arg1: int, arg2: cstr, arg3: int, arg4: fn(arg0: ptr[void]) -> void) -> int
|
|
194
|
+
external function sqlite3_bind_text16(arg0: ptr[sqlite3_stmt], arg1: int, arg2: const_ptr[void], arg3: int, arg4: fn(arg0: ptr[void]) -> void) -> int
|
|
195
|
+
external function sqlite3_bind_text64(arg0: ptr[sqlite3_stmt], arg1: int, arg2: cstr, arg3: ulong, arg4: fn(arg0: ptr[void]) -> void, encoding: ubyte) -> int
|
|
196
|
+
external function sqlite3_bind_value(arg0: ptr[sqlite3_stmt], arg1: int, arg2: const_ptr[sqlite3_value]) -> int
|
|
197
|
+
external function sqlite3_bind_pointer(arg0: ptr[sqlite3_stmt], arg1: int, arg2: ptr[void], arg3: cstr, arg4: fn(arg0: ptr[void]) -> void) -> int
|
|
198
|
+
external function sqlite3_bind_zeroblob(arg0: ptr[sqlite3_stmt], arg1: int, n: int) -> int
|
|
199
|
+
external function sqlite3_bind_zeroblob64(arg0: ptr[sqlite3_stmt], arg1: int, arg2: ulong) -> int
|
|
200
|
+
external function sqlite3_bind_parameter_count(arg0: ptr[sqlite3_stmt]) -> int
|
|
201
|
+
external function sqlite3_bind_parameter_name(arg0: ptr[sqlite3_stmt], arg1: int) -> cstr
|
|
202
|
+
external function sqlite3_bind_parameter_index(arg0: ptr[sqlite3_stmt], zName: cstr) -> int
|
|
203
|
+
external function sqlite3_clear_bindings(arg0: ptr[sqlite3_stmt]) -> int
|
|
204
|
+
external function sqlite3_column_count(pStmt: ptr[sqlite3_stmt]) -> int
|
|
205
|
+
external function sqlite3_column_name(arg0: ptr[sqlite3_stmt], N: int) -> cstr
|
|
206
|
+
external function sqlite3_column_name16(arg0: ptr[sqlite3_stmt], N: int) -> const_ptr[void]
|
|
207
|
+
external function sqlite3_column_database_name(arg0: ptr[sqlite3_stmt], arg1: int) -> cstr
|
|
208
|
+
external function sqlite3_column_database_name16(arg0: ptr[sqlite3_stmt], arg1: int) -> const_ptr[void]
|
|
209
|
+
external function sqlite3_column_table_name(arg0: ptr[sqlite3_stmt], arg1: int) -> cstr
|
|
210
|
+
external function sqlite3_column_table_name16(arg0: ptr[sqlite3_stmt], arg1: int) -> const_ptr[void]
|
|
211
|
+
external function sqlite3_column_origin_name(arg0: ptr[sqlite3_stmt], arg1: int) -> cstr
|
|
212
|
+
external function sqlite3_column_origin_name16(arg0: ptr[sqlite3_stmt], arg1: int) -> const_ptr[void]
|
|
213
|
+
external function sqlite3_column_decltype(arg0: ptr[sqlite3_stmt], arg1: int) -> cstr
|
|
214
|
+
external function sqlite3_column_decltype16(arg0: ptr[sqlite3_stmt], arg1: int) -> const_ptr[void]
|
|
215
|
+
external function sqlite3_step(arg0: ptr[sqlite3_stmt]) -> int
|
|
216
|
+
external function sqlite3_data_count(pStmt: ptr[sqlite3_stmt]) -> int
|
|
217
|
+
external function sqlite3_column_blob(arg0: ptr[sqlite3_stmt], iCol: int) -> const_ptr[void]
|
|
218
|
+
external function sqlite3_column_double(arg0: ptr[sqlite3_stmt], iCol: int) -> double
|
|
219
|
+
external function sqlite3_column_int(arg0: ptr[sqlite3_stmt], iCol: int) -> int
|
|
220
|
+
external function sqlite3_column_int64(arg0: ptr[sqlite3_stmt], iCol: int) -> sqlite3_int64
|
|
221
|
+
external function sqlite3_column_text(arg0: ptr[sqlite3_stmt], iCol: int) -> const_ptr[ubyte]
|
|
222
|
+
external function sqlite3_column_text16(arg0: ptr[sqlite3_stmt], iCol: int) -> const_ptr[void]
|
|
223
|
+
external function sqlite3_column_value(arg0: ptr[sqlite3_stmt], iCol: int) -> ptr[sqlite3_value]
|
|
224
|
+
external function sqlite3_column_bytes(arg0: ptr[sqlite3_stmt], iCol: int) -> int
|
|
225
|
+
external function sqlite3_column_bytes16(arg0: ptr[sqlite3_stmt], iCol: int) -> int
|
|
226
|
+
external function sqlite3_column_type(arg0: ptr[sqlite3_stmt], iCol: int) -> int
|
|
227
|
+
external function sqlite3_finalize(pStmt: ptr[sqlite3_stmt]) -> int
|
|
228
|
+
external function sqlite3_reset(pStmt: ptr[sqlite3_stmt]) -> int
|
|
229
|
+
external function sqlite3_create_function(db: ptr[sqlite3], zFunctionName: cstr, nArg: int, eTextRep: int, pApp: ptr[void], xFunc: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xStep: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xFinal: fn(arg0: ptr[sqlite3_context]) -> void) -> int
|
|
230
|
+
external function sqlite3_create_function16(db: ptr[sqlite3], zFunctionName: const_ptr[void], nArg: int, eTextRep: int, pApp: ptr[void], xFunc: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xStep: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xFinal: fn(arg0: ptr[sqlite3_context]) -> void) -> int
|
|
231
|
+
external function sqlite3_create_function_v2(db: ptr[sqlite3], zFunctionName: cstr, nArg: int, eTextRep: int, pApp: ptr[void], xFunc: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xStep: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xFinal: fn(arg0: ptr[sqlite3_context]) -> void, xDestroy: fn(arg0: ptr[void]) -> void) -> int
|
|
232
|
+
external function sqlite3_create_window_function(db: ptr[sqlite3], zFunctionName: cstr, nArg: int, eTextRep: int, pApp: ptr[void], xStep: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xFinal: fn(arg0: ptr[sqlite3_context]) -> void, xValue: fn(arg0: ptr[sqlite3_context]) -> void, xInverse: fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void, xDestroy: fn(arg0: ptr[void]) -> void) -> int
|
|
233
|
+
external function sqlite3_aggregate_count(arg0: ptr[sqlite3_context]) -> int
|
|
234
|
+
external function sqlite3_expired(arg0: ptr[sqlite3_stmt]) -> int
|
|
235
|
+
external function sqlite3_transfer_bindings(arg0: ptr[sqlite3_stmt], arg1: ptr[sqlite3_stmt]) -> int
|
|
236
|
+
external function sqlite3_global_recover() -> int
|
|
237
|
+
external function sqlite3_thread_cleanup() -> void
|
|
238
|
+
external function sqlite3_memory_alarm(arg0: fn(arg0: ptr[void], arg1: sqlite3_int64, arg2: int) -> void, arg1: ptr[void], arg2: long) -> int
|
|
239
|
+
external function sqlite3_value_blob(arg0: ptr[sqlite3_value]) -> const_ptr[void]
|
|
240
|
+
external function sqlite3_value_double(arg0: ptr[sqlite3_value]) -> double
|
|
241
|
+
external function sqlite3_value_int(arg0: ptr[sqlite3_value]) -> int
|
|
242
|
+
external function sqlite3_value_int64(arg0: ptr[sqlite3_value]) -> sqlite3_int64
|
|
243
|
+
external function sqlite3_value_pointer(arg0: ptr[sqlite3_value], arg1: cstr) -> ptr[void]
|
|
244
|
+
external function sqlite3_value_text(arg0: ptr[sqlite3_value]) -> const_ptr[ubyte]
|
|
245
|
+
external function sqlite3_value_text16(arg0: ptr[sqlite3_value]) -> const_ptr[void]
|
|
246
|
+
external function sqlite3_value_text16le(arg0: ptr[sqlite3_value]) -> const_ptr[void]
|
|
247
|
+
external function sqlite3_value_text16be(arg0: ptr[sqlite3_value]) -> const_ptr[void]
|
|
248
|
+
external function sqlite3_value_bytes(arg0: ptr[sqlite3_value]) -> int
|
|
249
|
+
external function sqlite3_value_bytes16(arg0: ptr[sqlite3_value]) -> int
|
|
250
|
+
external function sqlite3_value_type(arg0: ptr[sqlite3_value]) -> int
|
|
251
|
+
external function sqlite3_value_numeric_type(arg0: ptr[sqlite3_value]) -> int
|
|
252
|
+
external function sqlite3_value_nochange(arg0: ptr[sqlite3_value]) -> int
|
|
253
|
+
external function sqlite3_value_frombind(arg0: ptr[sqlite3_value]) -> int
|
|
254
|
+
external function sqlite3_value_encoding(arg0: ptr[sqlite3_value]) -> int
|
|
255
|
+
external function sqlite3_value_subtype(arg0: ptr[sqlite3_value]) -> uint
|
|
256
|
+
external function sqlite3_value_dup(arg0: const_ptr[sqlite3_value]) -> ptr[sqlite3_value]
|
|
257
|
+
external function sqlite3_value_free(arg0: ptr[sqlite3_value]) -> void
|
|
258
|
+
external function sqlite3_aggregate_context(arg0: ptr[sqlite3_context], nBytes: int) -> ptr[void]
|
|
259
|
+
external function sqlite3_user_data(arg0: ptr[sqlite3_context]) -> ptr[void]
|
|
260
|
+
external function sqlite3_context_db_handle(arg0: ptr[sqlite3_context]) -> ptr[sqlite3]
|
|
261
|
+
external function sqlite3_get_auxdata(arg0: ptr[sqlite3_context], N: int) -> ptr[void]
|
|
262
|
+
external function sqlite3_set_auxdata(arg0: ptr[sqlite3_context], N: int, arg2: ptr[void], arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
263
|
+
external function sqlite3_get_clientdata(arg0: ptr[sqlite3], arg1: cstr) -> ptr[void]
|
|
264
|
+
external function sqlite3_set_clientdata(arg0: ptr[sqlite3], arg1: cstr, arg2: ptr[void], arg3: fn(arg0: ptr[void]) -> void) -> int
|
|
265
|
+
|
|
266
|
+
type sqlite3_destructor_type = fn(arg0: ptr[void]) -> void
|
|
267
|
+
|
|
268
|
+
external function sqlite3_result_blob(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: int, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
269
|
+
external function sqlite3_result_blob64(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: ulong, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
270
|
+
external function sqlite3_result_double(arg0: ptr[sqlite3_context], arg1: double) -> void
|
|
271
|
+
external function sqlite3_result_error(arg0: ptr[sqlite3_context], arg1: cstr, arg2: int) -> void
|
|
272
|
+
external function sqlite3_result_error16(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: int) -> void
|
|
273
|
+
external function sqlite3_result_error_toobig(arg0: ptr[sqlite3_context]) -> void
|
|
274
|
+
external function sqlite3_result_error_nomem(arg0: ptr[sqlite3_context]) -> void
|
|
275
|
+
external function sqlite3_result_error_code(arg0: ptr[sqlite3_context], arg1: int) -> void
|
|
276
|
+
external function sqlite3_result_int(arg0: ptr[sqlite3_context], arg1: int) -> void
|
|
277
|
+
external function sqlite3_result_int64(arg0: ptr[sqlite3_context], arg1: long) -> void
|
|
278
|
+
external function sqlite3_result_null(arg0: ptr[sqlite3_context]) -> void
|
|
279
|
+
external function sqlite3_result_text(arg0: ptr[sqlite3_context], arg1: cstr, arg2: int, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
280
|
+
external function sqlite3_result_text64(arg0: ptr[sqlite3_context], z: cstr, n: ulong, arg3: fn(arg0: ptr[void]) -> void, encoding: ubyte) -> void
|
|
281
|
+
external function sqlite3_result_text16(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: int, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
282
|
+
external function sqlite3_result_text16le(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: int, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
283
|
+
external function sqlite3_result_text16be(arg0: ptr[sqlite3_context], arg1: const_ptr[void], arg2: int, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
284
|
+
external function sqlite3_result_value(arg0: ptr[sqlite3_context], arg1: ptr[sqlite3_value]) -> void
|
|
285
|
+
external function sqlite3_result_pointer(arg0: ptr[sqlite3_context], arg1: ptr[void], arg2: cstr, arg3: fn(arg0: ptr[void]) -> void) -> void
|
|
286
|
+
external function sqlite3_result_zeroblob(arg0: ptr[sqlite3_context], n: int) -> void
|
|
287
|
+
external function sqlite3_result_zeroblob64(arg0: ptr[sqlite3_context], n: ulong) -> int
|
|
288
|
+
external function sqlite3_result_subtype(arg0: ptr[sqlite3_context], arg1: uint) -> void
|
|
289
|
+
external function sqlite3_create_collation(arg0: ptr[sqlite3], zName: cstr, eTextRep: int, pArg: ptr[void], xCompare: fn(arg0: ptr[void], arg1: int, arg2: const_ptr[void], arg3: int, arg4: const_ptr[void]) -> int) -> int
|
|
290
|
+
external function sqlite3_create_collation_v2(arg0: ptr[sqlite3], zName: cstr, eTextRep: int, pArg: ptr[void], xCompare: fn(arg0: ptr[void], arg1: int, arg2: const_ptr[void], arg3: int, arg4: const_ptr[void]) -> int, xDestroy: fn(arg0: ptr[void]) -> void) -> int
|
|
291
|
+
external function sqlite3_create_collation16(arg0: ptr[sqlite3], zName: const_ptr[void], eTextRep: int, pArg: ptr[void], xCompare: fn(arg0: ptr[void], arg1: int, arg2: const_ptr[void], arg3: int, arg4: const_ptr[void]) -> int) -> int
|
|
292
|
+
external function sqlite3_collation_needed(arg0: ptr[sqlite3], arg1: ptr[void], arg2: fn(arg0: ptr[void], arg1: ptr[sqlite3], arg2: int, arg3: cstr) -> void) -> int
|
|
293
|
+
external function sqlite3_collation_needed16(arg0: ptr[sqlite3], arg1: ptr[void], arg2: fn(arg0: ptr[void], arg1: ptr[sqlite3], arg2: int, arg3: const_ptr[void]) -> void) -> int
|
|
294
|
+
external function sqlite3_sleep(arg0: int) -> int
|
|
295
|
+
external function sqlite3_win32_set_directory(type_: ptr_uint, zValue: ptr[void]) -> int
|
|
296
|
+
external function sqlite3_win32_set_directory8(type_: ptr_uint, zValue: cstr) -> int
|
|
297
|
+
external function sqlite3_win32_set_directory16(type_: ptr_uint, zValue: const_ptr[void]) -> int
|
|
298
|
+
external function sqlite3_get_autocommit(arg0: ptr[sqlite3]) -> int
|
|
299
|
+
external function sqlite3_db_handle(arg0: ptr[sqlite3_stmt]) -> ptr[sqlite3]
|
|
300
|
+
external function sqlite3_db_name(db: ptr[sqlite3], N: int) -> cstr
|
|
301
|
+
external function sqlite3_db_filename(db: ptr[sqlite3], zDbName: cstr) -> sqlite3_filename
|
|
302
|
+
external function sqlite3_db_readonly(db: ptr[sqlite3], zDbName: cstr) -> int
|
|
303
|
+
external function sqlite3_txn_state(arg0: ptr[sqlite3], zSchema: cstr) -> int
|
|
304
|
+
external function sqlite3_next_stmt(pDb: ptr[sqlite3], pStmt: ptr[sqlite3_stmt]) -> ptr[sqlite3_stmt]
|
|
305
|
+
external function sqlite3_commit_hook(arg0: ptr[sqlite3], arg1: fn(arg0: ptr[void]) -> int, arg2: ptr[void]) -> ptr[void]
|
|
306
|
+
external function sqlite3_rollback_hook(arg0: ptr[sqlite3], arg1: fn(arg0: ptr[void]) -> void, arg2: ptr[void]) -> ptr[void]
|
|
307
|
+
external function sqlite3_autovacuum_pages(db: ptr[sqlite3], arg1: fn(arg0: ptr[void], arg1: cstr, arg2: uint, arg3: uint, arg4: uint) -> uint, arg2: ptr[void], arg3: fn(arg0: ptr[void]) -> void) -> int
|
|
308
|
+
external function sqlite3_update_hook(arg0: ptr[sqlite3], arg1: fn(arg0: ptr[void], arg1: int, arg2: cstr, arg3: cstr, arg4: sqlite3_int64) -> void, arg2: ptr[void]) -> ptr[void]
|
|
309
|
+
external function sqlite3_enable_shared_cache(arg0: int) -> int
|
|
310
|
+
external function sqlite3_release_memory(arg0: int) -> int
|
|
311
|
+
external function sqlite3_db_release_memory(arg0: ptr[sqlite3]) -> int
|
|
312
|
+
external function sqlite3_soft_heap_limit64(N: long) -> sqlite3_int64
|
|
313
|
+
external function sqlite3_hard_heap_limit64(N: long) -> sqlite3_int64
|
|
314
|
+
external function sqlite3_soft_heap_limit(N: int) -> void
|
|
315
|
+
external function sqlite3_table_column_metadata(db: ptr[sqlite3], zDbName: cstr, zTableName: cstr, zColumnName: cstr, pzDataType: ptr[cstr], pzCollSeq: ptr[cstr], pNotNull: ptr[int], pPrimaryKey: ptr[int], pAutoinc: ptr[int]) -> int
|
|
316
|
+
external function sqlite3_load_extension(db: ptr[sqlite3], zFile: cstr, zProc: cstr, pzErrMsg: ptr[ptr[char]]) -> int
|
|
317
|
+
external function sqlite3_enable_load_extension(db: ptr[sqlite3], onoff: int) -> int
|
|
318
|
+
external function sqlite3_auto_extension(xEntryPoint: fn() -> void) -> int
|
|
319
|
+
external function sqlite3_cancel_auto_extension(xEntryPoint: fn() -> void) -> int
|
|
320
|
+
external function sqlite3_reset_auto_extension() -> void
|
|
321
|
+
|
|
322
|
+
struct sqlite3_module:
|
|
323
|
+
iVersion: int
|
|
324
|
+
xCreate: fn(arg0: ptr[sqlite3], arg1: ptr[void], arg2: int, arg3: const_ptr[cstr], arg4: ptr[ptr[sqlite3_vtab]], arg5: ptr[ptr[char]]) -> int
|
|
325
|
+
xConnect: fn(arg0: ptr[sqlite3], arg1: ptr[void], arg2: int, arg3: const_ptr[cstr], arg4: ptr[ptr[sqlite3_vtab]], arg5: ptr[ptr[char]]) -> int
|
|
326
|
+
xBestIndex: fn(arg0: ptr[sqlite3_vtab], arg1: ptr[sqlite3_index_info]) -> int
|
|
327
|
+
xDisconnect: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
328
|
+
xDestroy: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
329
|
+
xOpen: fn(arg0: ptr[sqlite3_vtab], arg1: ptr[ptr[sqlite3_vtab_cursor]]) -> int
|
|
330
|
+
xClose: fn(arg0: ptr[sqlite3_vtab_cursor]) -> int
|
|
331
|
+
xFilter: fn(arg0: ptr[sqlite3_vtab_cursor], arg1: int, arg2: cstr, arg3: int, arg4: ptr[ptr[sqlite3_value]]) -> int
|
|
332
|
+
xNext: fn(arg0: ptr[sqlite3_vtab_cursor]) -> int
|
|
333
|
+
xEof: fn(arg0: ptr[sqlite3_vtab_cursor]) -> int
|
|
334
|
+
xColumn: fn(arg0: ptr[sqlite3_vtab_cursor], arg1: ptr[sqlite3_context], arg2: int) -> int
|
|
335
|
+
xRowid: fn(arg0: ptr[sqlite3_vtab_cursor], arg1: ptr[sqlite3_int64]) -> int
|
|
336
|
+
xUpdate: fn(arg0: ptr[sqlite3_vtab], arg1: int, arg2: ptr[ptr[sqlite3_value]], arg3: ptr[sqlite3_int64]) -> int
|
|
337
|
+
xBegin: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
338
|
+
xSync: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
339
|
+
xCommit: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
340
|
+
xRollback: fn(arg0: ptr[sqlite3_vtab]) -> int
|
|
341
|
+
xFindFunction: fn(arg0: ptr[sqlite3_vtab], arg1: int, arg2: cstr, arg3: ptr[fn(arg0: ptr[sqlite3_context], arg1: int, arg2: ptr[ptr[sqlite3_value]]) -> void], arg4: ptr[ptr[void]]) -> int
|
|
342
|
+
xRename: fn(arg0: ptr[sqlite3_vtab], arg1: cstr) -> int
|
|
343
|
+
xSavepoint: fn(arg0: ptr[sqlite3_vtab], arg1: int) -> int
|
|
344
|
+
xRelease: fn(arg0: ptr[sqlite3_vtab], arg1: int) -> int
|
|
345
|
+
xRollbackTo: fn(arg0: ptr[sqlite3_vtab], arg1: int) -> int
|
|
346
|
+
xShadowName: fn(arg0: cstr) -> int
|
|
347
|
+
xIntegrity: fn(arg0: ptr[sqlite3_vtab], arg1: cstr, arg2: cstr, arg3: int, arg4: ptr[ptr[char]]) -> int
|
|
348
|
+
|
|
349
|
+
struct sqlite3_index_info:
|
|
350
|
+
nConstraint: int
|
|
351
|
+
aConstraint: ptr[sqlite3_index_constraint]
|
|
352
|
+
nOrderBy: int
|
|
353
|
+
aOrderBy: ptr[sqlite3_index_orderby]
|
|
354
|
+
aConstraintUsage: ptr[sqlite3_index_constraint_usage]
|
|
355
|
+
idxNum: int
|
|
356
|
+
idxStr: ptr[char]
|
|
357
|
+
needToFreeIdxStr: int
|
|
358
|
+
orderByConsumed: int
|
|
359
|
+
estimatedCost: double
|
|
360
|
+
estimatedRows: long
|
|
361
|
+
idxFlags: int
|
|
362
|
+
colUsed: ulong
|
|
363
|
+
|
|
364
|
+
external function sqlite3_create_module(db: ptr[sqlite3], zName: cstr, p: const_ptr[sqlite3_module], pClientData: ptr[void]) -> int
|
|
365
|
+
external function sqlite3_create_module_v2(db: ptr[sqlite3], zName: cstr, p: const_ptr[sqlite3_module], pClientData: ptr[void], xDestroy: fn(arg0: ptr[void]) -> void) -> int
|
|
366
|
+
external function sqlite3_drop_modules(db: ptr[sqlite3], azKeep: ptr[cstr]) -> int
|
|
367
|
+
|
|
368
|
+
struct sqlite3_vtab:
|
|
369
|
+
pModule: const_ptr[sqlite3_module]
|
|
370
|
+
nRef: int
|
|
371
|
+
zErrMsg: ptr[char]
|
|
372
|
+
|
|
373
|
+
struct sqlite3_vtab_cursor:
|
|
374
|
+
pVtab: ptr[sqlite3_vtab]
|
|
375
|
+
|
|
376
|
+
external function sqlite3_declare_vtab(arg0: ptr[sqlite3], zSQL: cstr) -> int
|
|
377
|
+
external function sqlite3_overload_function(arg0: ptr[sqlite3], zFuncName: cstr, nArg: int) -> int
|
|
378
|
+
|
|
379
|
+
opaque sqlite3_blob = c"sqlite3_blob"
|
|
380
|
+
|
|
381
|
+
external function sqlite3_blob_open(arg0: ptr[sqlite3], zDb: cstr, zTable: cstr, zColumn: cstr, iRow: long, flags_: int, ppBlob: ptr[ptr[sqlite3_blob]]) -> int
|
|
382
|
+
external function sqlite3_blob_reopen(arg0: ptr[sqlite3_blob], arg1: long) -> int
|
|
383
|
+
external function sqlite3_blob_close(arg0: ptr[sqlite3_blob]) -> int
|
|
384
|
+
external function sqlite3_blob_bytes(arg0: ptr[sqlite3_blob]) -> int
|
|
385
|
+
external function sqlite3_blob_read(arg0: ptr[sqlite3_blob], Z: ptr[void], N: int, iOffset: int) -> int
|
|
386
|
+
external function sqlite3_blob_write(arg0: ptr[sqlite3_blob], z: const_ptr[void], n: int, iOffset: int) -> int
|
|
387
|
+
external function sqlite3_vfs_find(zVfsName: cstr) -> ptr[sqlite3_vfs]
|
|
388
|
+
external function sqlite3_vfs_register(arg0: ptr[sqlite3_vfs], makeDflt: int) -> int
|
|
389
|
+
external function sqlite3_vfs_unregister(arg0: ptr[sqlite3_vfs]) -> int
|
|
390
|
+
external function sqlite3_mutex_alloc(arg0: int) -> ptr[sqlite3_mutex]
|
|
391
|
+
external function sqlite3_mutex_free(arg0: ptr[sqlite3_mutex]) -> void
|
|
392
|
+
external function sqlite3_mutex_enter(arg0: ptr[sqlite3_mutex]) -> void
|
|
393
|
+
external function sqlite3_mutex_try(arg0: ptr[sqlite3_mutex]) -> int
|
|
394
|
+
external function sqlite3_mutex_leave(arg0: ptr[sqlite3_mutex]) -> void
|
|
395
|
+
|
|
396
|
+
struct sqlite3_mutex_methods:
|
|
397
|
+
xMutexInit: fn() -> int
|
|
398
|
+
xMutexEnd: fn() -> int
|
|
399
|
+
xMutexAlloc: fn(arg0: int) -> ptr[sqlite3_mutex]
|
|
400
|
+
xMutexFree: fn(arg0: ptr[sqlite3_mutex]) -> void
|
|
401
|
+
xMutexEnter: fn(arg0: ptr[sqlite3_mutex]) -> void
|
|
402
|
+
xMutexTry: fn(arg0: ptr[sqlite3_mutex]) -> int
|
|
403
|
+
xMutexLeave: fn(arg0: ptr[sqlite3_mutex]) -> void
|
|
404
|
+
xMutexHeld: fn(arg0: ptr[sqlite3_mutex]) -> int
|
|
405
|
+
xMutexNotheld: fn(arg0: ptr[sqlite3_mutex]) -> int
|
|
406
|
+
|
|
407
|
+
external function sqlite3_mutex_held(arg0: ptr[sqlite3_mutex]) -> int
|
|
408
|
+
external function sqlite3_mutex_notheld(arg0: ptr[sqlite3_mutex]) -> int
|
|
409
|
+
external function sqlite3_db_mutex(arg0: ptr[sqlite3]) -> ptr[sqlite3_mutex]
|
|
410
|
+
external function sqlite3_file_control(arg0: ptr[sqlite3], zDbName: cstr, op: int, arg3: ptr[void]) -> int
|
|
411
|
+
external function sqlite3_test_control(op: int, ...) -> int
|
|
412
|
+
external function sqlite3_keyword_count() -> int
|
|
413
|
+
external function sqlite3_keyword_name(arg0: int, arg1: ptr[cstr], arg2: ptr[int]) -> int
|
|
414
|
+
external function sqlite3_keyword_check(arg0: cstr, arg1: int) -> int
|
|
415
|
+
|
|
416
|
+
opaque sqlite3_str = c"sqlite3_str"
|
|
417
|
+
|
|
418
|
+
external function sqlite3_str_new(arg0: ptr[sqlite3]) -> ptr[sqlite3_str]
|
|
419
|
+
external function sqlite3_str_finish(arg0: ptr[sqlite3_str]) -> ptr[char]
|
|
420
|
+
external function sqlite3_str_free(arg0: ptr[sqlite3_str]) -> void
|
|
421
|
+
external function sqlite3_str_appendf(arg0: ptr[sqlite3_str], zFormat: cstr, ...) -> void
|
|
422
|
+
external function sqlite3_str_vappendf(arg0: ptr[sqlite3_str], zFormat: cstr, arg2: va_list) -> void
|
|
423
|
+
external function sqlite3_str_append(arg0: ptr[sqlite3_str], zIn: cstr, N: int) -> void
|
|
424
|
+
external function sqlite3_str_appendall(arg0: ptr[sqlite3_str], zIn: cstr) -> void
|
|
425
|
+
external function sqlite3_str_appendchar(arg0: ptr[sqlite3_str], N: int, C: char) -> void
|
|
426
|
+
external function sqlite3_str_reset(arg0: ptr[sqlite3_str]) -> void
|
|
427
|
+
external function sqlite3_str_truncate(arg0: ptr[sqlite3_str], N: int) -> void
|
|
428
|
+
external function sqlite3_str_errcode(arg0: ptr[sqlite3_str]) -> int
|
|
429
|
+
external function sqlite3_str_length(arg0: ptr[sqlite3_str]) -> int
|
|
430
|
+
external function sqlite3_str_value(arg0: ptr[sqlite3_str]) -> ptr[char]
|
|
431
|
+
external function sqlite3_status(op: int, pCurrent: ptr[int], pHighwater: ptr[int], resetFlag: int) -> int
|
|
432
|
+
external function sqlite3_status64(op: int, pCurrent: ptr[sqlite3_int64], pHighwater: ptr[sqlite3_int64], resetFlag: int) -> int
|
|
433
|
+
external function sqlite3_db_status(arg0: ptr[sqlite3], op: int, pCur: ptr[int], pHiwtr: ptr[int], resetFlg: int) -> int
|
|
434
|
+
external function sqlite3_db_status64(arg0: ptr[sqlite3], arg1: int, arg2: ptr[sqlite3_int64], arg3: ptr[sqlite3_int64], arg4: int) -> int
|
|
435
|
+
external function sqlite3_stmt_status(arg0: ptr[sqlite3_stmt], op: int, resetFlg: int) -> int
|
|
436
|
+
|
|
437
|
+
opaque sqlite3_pcache = c"sqlite3_pcache"
|
|
438
|
+
|
|
439
|
+
struct sqlite3_pcache_page:
|
|
440
|
+
pBuf: ptr[void]
|
|
441
|
+
pExtra: ptr[void]
|
|
442
|
+
|
|
443
|
+
struct sqlite3_pcache_methods2:
|
|
444
|
+
iVersion: int
|
|
445
|
+
pArg: ptr[void]
|
|
446
|
+
xInit: fn(arg0: ptr[void]) -> int
|
|
447
|
+
xShutdown: fn(arg0: ptr[void]) -> void
|
|
448
|
+
xCreate: fn(arg0: int, arg1: int, arg2: int) -> ptr[sqlite3_pcache]
|
|
449
|
+
xCachesize: fn(arg0: ptr[sqlite3_pcache], arg1: int) -> void
|
|
450
|
+
xPagecount: fn(arg0: ptr[sqlite3_pcache]) -> int
|
|
451
|
+
xFetch: fn(arg0: ptr[sqlite3_pcache], arg1: uint, arg2: int) -> ptr[sqlite3_pcache_page]
|
|
452
|
+
xUnpin: fn(arg0: ptr[sqlite3_pcache], arg1: ptr[sqlite3_pcache_page], arg2: int) -> void
|
|
453
|
+
xRekey: fn(arg0: ptr[sqlite3_pcache], arg1: ptr[sqlite3_pcache_page], arg2: uint, arg3: uint) -> void
|
|
454
|
+
xTruncate: fn(arg0: ptr[sqlite3_pcache], arg1: uint) -> void
|
|
455
|
+
xDestroy: fn(arg0: ptr[sqlite3_pcache]) -> void
|
|
456
|
+
xShrink: fn(arg0: ptr[sqlite3_pcache]) -> void
|
|
457
|
+
|
|
458
|
+
struct sqlite3_pcache_methods:
|
|
459
|
+
pArg: ptr[void]
|
|
460
|
+
xInit: fn(arg0: ptr[void]) -> int
|
|
461
|
+
xShutdown: fn(arg0: ptr[void]) -> void
|
|
462
|
+
xCreate: fn(arg0: int, arg1: int) -> ptr[sqlite3_pcache]
|
|
463
|
+
xCachesize: fn(arg0: ptr[sqlite3_pcache], arg1: int) -> void
|
|
464
|
+
xPagecount: fn(arg0: ptr[sqlite3_pcache]) -> int
|
|
465
|
+
xFetch: fn(arg0: ptr[sqlite3_pcache], arg1: uint, arg2: int) -> ptr[void]
|
|
466
|
+
xUnpin: fn(arg0: ptr[sqlite3_pcache], arg1: ptr[void], arg2: int) -> void
|
|
467
|
+
xRekey: fn(arg0: ptr[sqlite3_pcache], arg1: ptr[void], arg2: uint, arg3: uint) -> void
|
|
468
|
+
xTruncate: fn(arg0: ptr[sqlite3_pcache], arg1: uint) -> void
|
|
469
|
+
xDestroy: fn(arg0: ptr[sqlite3_pcache]) -> void
|
|
470
|
+
|
|
471
|
+
opaque sqlite3_backup = c"sqlite3_backup"
|
|
472
|
+
|
|
473
|
+
external function sqlite3_backup_init(pDest: ptr[sqlite3], zDestName: cstr, pSource: ptr[sqlite3], zSourceName: cstr) -> ptr[sqlite3_backup]
|
|
474
|
+
external function sqlite3_backup_step(p: ptr[sqlite3_backup], nPage: int) -> int
|
|
475
|
+
external function sqlite3_backup_finish(p: ptr[sqlite3_backup]) -> int
|
|
476
|
+
external function sqlite3_backup_remaining(p: ptr[sqlite3_backup]) -> int
|
|
477
|
+
external function sqlite3_backup_pagecount(p: ptr[sqlite3_backup]) -> int
|
|
478
|
+
external function sqlite3_unlock_notify(pBlocked: ptr[sqlite3], xNotify: fn(arg0: ptr[ptr[void]], arg1: int) -> void, pNotifyArg: ptr[void]) -> int
|
|
479
|
+
external function sqlite3_stricmp(arg0: cstr, arg1: cstr) -> int
|
|
480
|
+
external function sqlite3_strnicmp(arg0: cstr, arg1: cstr, arg2: int) -> int
|
|
481
|
+
external function sqlite3_strglob(zGlob: cstr, zStr: cstr) -> int
|
|
482
|
+
external function sqlite3_strlike(zGlob: cstr, zStr: cstr, cEsc: uint) -> int
|
|
483
|
+
external function sqlite3_log(iErrCode: int, zFormat: cstr, ...) -> void
|
|
484
|
+
external function sqlite3_wal_hook(arg0: ptr[sqlite3], arg1: fn(arg0: ptr[void], arg1: ptr[sqlite3], arg2: cstr, arg3: int) -> int, arg2: ptr[void]) -> ptr[void]
|
|
485
|
+
external function sqlite3_wal_autocheckpoint(db: ptr[sqlite3], N: int) -> int
|
|
486
|
+
external function sqlite3_wal_checkpoint(db: ptr[sqlite3], zDb: cstr) -> int
|
|
487
|
+
external function sqlite3_wal_checkpoint_v2(db: ptr[sqlite3], zDb: cstr, eMode: int, pnLog: ptr[int], pnCkpt: ptr[int]) -> int
|
|
488
|
+
external function sqlite3_vtab_config(arg0: ptr[sqlite3], op: int, ...) -> int
|
|
489
|
+
external function sqlite3_vtab_on_conflict(arg0: ptr[sqlite3]) -> int
|
|
490
|
+
external function sqlite3_vtab_nochange(arg0: ptr[sqlite3_context]) -> int
|
|
491
|
+
external function sqlite3_vtab_collation(arg0: ptr[sqlite3_index_info], arg1: int) -> cstr
|
|
492
|
+
external function sqlite3_vtab_distinct(arg0: ptr[sqlite3_index_info]) -> int
|
|
493
|
+
external function sqlite3_vtab_in(arg0: ptr[sqlite3_index_info], iCons: int, bHandle: int) -> int
|
|
494
|
+
external function sqlite3_vtab_in_first(pVal: ptr[sqlite3_value], ppOut: ptr[ptr[sqlite3_value]]) -> int
|
|
495
|
+
external function sqlite3_vtab_in_next(pVal: ptr[sqlite3_value], ppOut: ptr[ptr[sqlite3_value]]) -> int
|
|
496
|
+
external function sqlite3_vtab_rhs_value(arg0: ptr[sqlite3_index_info], arg1: int, ppVal: ptr[ptr[sqlite3_value]]) -> int
|
|
497
|
+
external function sqlite3_stmt_scanstatus(pStmt: ptr[sqlite3_stmt], idx: int, iScanStatusOp: int, pOut: ptr[void]) -> int
|
|
498
|
+
external function sqlite3_stmt_scanstatus_v2(pStmt: ptr[sqlite3_stmt], idx: int, iScanStatusOp: int, flags_: int, pOut: ptr[void]) -> int
|
|
499
|
+
external function sqlite3_stmt_scanstatus_reset(arg0: ptr[sqlite3_stmt]) -> void
|
|
500
|
+
external function sqlite3_db_cacheflush(arg0: ptr[sqlite3]) -> int
|
|
501
|
+
external function sqlite3_system_errno(arg0: ptr[sqlite3]) -> int
|
|
502
|
+
|
|
503
|
+
struct sqlite3_snapshot:
|
|
504
|
+
hidden: array[ubyte, 48]
|
|
505
|
+
|
|
506
|
+
external function sqlite3_snapshot_get(db: ptr[sqlite3], zSchema: cstr, ppSnapshot: ptr[ptr[sqlite3_snapshot]]) -> int
|
|
507
|
+
external function sqlite3_snapshot_open(db: ptr[sqlite3], zSchema: cstr, pSnapshot: ptr[sqlite3_snapshot]) -> int
|
|
508
|
+
external function sqlite3_snapshot_free(arg0: ptr[sqlite3_snapshot]) -> void
|
|
509
|
+
external function sqlite3_snapshot_cmp(p1: ptr[sqlite3_snapshot], p2: ptr[sqlite3_snapshot]) -> int
|
|
510
|
+
external function sqlite3_snapshot_recover(db: ptr[sqlite3], zDb: cstr) -> int
|
|
511
|
+
external function sqlite3_serialize(db: ptr[sqlite3], zSchema: cstr, piSize: ptr[sqlite3_int64], mFlags: uint) -> ptr[ubyte]
|
|
512
|
+
external function sqlite3_deserialize(db: ptr[sqlite3], zSchema: cstr, pData: ptr[ubyte], szDb: long, szBuf: long, mFlags: uint) -> int
|
|
513
|
+
external function sqlite3_carray_bind_v2(pStmt: ptr[sqlite3_stmt], i: int, aData: ptr[void], nData: int, mFlags: int, xDel: fn(arg0: ptr[void]) -> void, pDel: ptr[void]) -> int
|
|
514
|
+
external function sqlite3_carray_bind(pStmt: ptr[sqlite3_stmt], i: int, aData: ptr[void], nData: int, mFlags: int, xDel: fn(arg0: ptr[void]) -> void) -> int
|
|
515
|
+
|
|
516
|
+
type sqlite3_rtree_dbl = double
|
|
517
|
+
|
|
518
|
+
external function sqlite3_rtree_geometry_callback(db: ptr[sqlite3], zGeom: cstr, xGeom: fn(arg0: ptr[sqlite3_rtree_geometry], arg1: int, arg2: ptr[sqlite3_rtree_dbl], arg3: ptr[int]) -> int, pContext: ptr[void]) -> int
|
|
519
|
+
|
|
520
|
+
struct sqlite3_rtree_geometry:
|
|
521
|
+
pContext: ptr[void]
|
|
522
|
+
nParam: int
|
|
523
|
+
aParam: ptr[sqlite3_rtree_dbl]
|
|
524
|
+
pUser: ptr[void]
|
|
525
|
+
xDelUser: fn(arg0: ptr[void]) -> void
|
|
526
|
+
|
|
527
|
+
external function sqlite3_rtree_query_callback(db: ptr[sqlite3], zQueryFunc: cstr, xQueryFunc: fn(arg0: ptr[sqlite3_rtree_query_info]) -> int, pContext: ptr[void], xDestructor: fn(arg0: ptr[void]) -> void) -> int
|
|
528
|
+
|
|
529
|
+
struct sqlite3_rtree_query_info:
|
|
530
|
+
pContext: ptr[void]
|
|
531
|
+
nParam: int
|
|
532
|
+
aParam: ptr[sqlite3_rtree_dbl]
|
|
533
|
+
pUser: ptr[void]
|
|
534
|
+
xDelUser: fn(arg0: ptr[void]) -> void
|
|
535
|
+
aCoord: ptr[sqlite3_rtree_dbl]
|
|
536
|
+
anQueue: ptr[uint]
|
|
537
|
+
nCoord: int
|
|
538
|
+
iLevel: int
|
|
539
|
+
mxLevel: int
|
|
540
|
+
iRowid: long
|
|
541
|
+
rParentScore: double
|
|
542
|
+
eParentWithin: int
|
|
543
|
+
eWithin: int
|
|
544
|
+
rScore: double
|
|
545
|
+
apSqlParam: ptr[ptr[sqlite3_value]]
|
|
546
|
+
|
|
547
|
+
const SQLITE_VERSION_NUMBER: int = 3053003
|
|
548
|
+
const SQLITE_OK: int = 0
|
|
549
|
+
const SQLITE_ERROR: int = 1
|
|
550
|
+
const SQLITE_INTERNAL: int = 2
|
|
551
|
+
const SQLITE_PERM: int = 3
|
|
552
|
+
const SQLITE_ABORT: int = 4
|
|
553
|
+
const SQLITE_BUSY: int = 5
|
|
554
|
+
const SQLITE_LOCKED: int = 6
|
|
555
|
+
const SQLITE_NOMEM: int = 7
|
|
556
|
+
const SQLITE_READONLY: int = 8
|
|
557
|
+
const SQLITE_INTERRUPT: int = 9
|
|
558
|
+
const SQLITE_IOERR: int = 10
|
|
559
|
+
const SQLITE_CORRUPT: int = 11
|
|
560
|
+
const SQLITE_NOTFOUND: int = 12
|
|
561
|
+
const SQLITE_FULL: int = 13
|
|
562
|
+
const SQLITE_CANTOPEN: int = 14
|
|
563
|
+
const SQLITE_PROTOCOL: int = 15
|
|
564
|
+
const SQLITE_EMPTY: int = 16
|
|
565
|
+
const SQLITE_SCHEMA: int = 17
|
|
566
|
+
const SQLITE_TOOBIG: int = 18
|
|
567
|
+
const SQLITE_CONSTRAINT: int = 19
|
|
568
|
+
const SQLITE_MISMATCH: int = 20
|
|
569
|
+
const SQLITE_MISUSE: int = 21
|
|
570
|
+
const SQLITE_NOLFS: int = 22
|
|
571
|
+
const SQLITE_AUTH: int = 23
|
|
572
|
+
const SQLITE_FORMAT: int = 24
|
|
573
|
+
const SQLITE_RANGE: int = 25
|
|
574
|
+
const SQLITE_NOTADB: int = 26
|
|
575
|
+
const SQLITE_NOTICE: int = 27
|
|
576
|
+
const SQLITE_WARNING: int = 28
|
|
577
|
+
const SQLITE_ROW: int = 100
|
|
578
|
+
const SQLITE_DONE: int = 101
|
|
579
|
+
const SQLITE_OPEN_READONLY: int = 1
|
|
580
|
+
const SQLITE_OPEN_READWRITE: int = 2
|
|
581
|
+
const SQLITE_OPEN_CREATE: int = 4
|
|
582
|
+
const SQLITE_OPEN_DELETEONCLOSE: int = 8
|
|
583
|
+
const SQLITE_OPEN_EXCLUSIVE: int = 16
|
|
584
|
+
const SQLITE_OPEN_AUTOPROXY: int = 32
|
|
585
|
+
const SQLITE_OPEN_URI: int = 64
|
|
586
|
+
const SQLITE_OPEN_MEMORY: int = 128
|
|
587
|
+
const SQLITE_OPEN_MAIN_DB: int = 256
|
|
588
|
+
const SQLITE_OPEN_TEMP_DB: int = 512
|
|
589
|
+
const SQLITE_OPEN_TRANSIENT_DB: int = 1024
|
|
590
|
+
const SQLITE_OPEN_MAIN_JOURNAL: int = 2048
|
|
591
|
+
const SQLITE_OPEN_TEMP_JOURNAL: int = 4096
|
|
592
|
+
const SQLITE_OPEN_SUBJOURNAL: int = 8192
|
|
593
|
+
const SQLITE_OPEN_SUPER_JOURNAL: int = 16384
|
|
594
|
+
const SQLITE_OPEN_NOMUTEX: int = 32768
|
|
595
|
+
const SQLITE_OPEN_FULLMUTEX: int = 65536
|
|
596
|
+
const SQLITE_OPEN_SHAREDCACHE: int = 131072
|
|
597
|
+
const SQLITE_OPEN_PRIVATECACHE: int = 262144
|
|
598
|
+
const SQLITE_OPEN_WAL: int = 524288
|
|
599
|
+
const SQLITE_OPEN_NOFOLLOW: int = 16777216
|
|
600
|
+
const SQLITE_OPEN_EXRESCODE: int = 33554432
|
|
601
|
+
const SQLITE_OPEN_MASTER_JOURNAL: int = 16384
|
|
602
|
+
const SQLITE_IOCAP_ATOMIC: int = 1
|
|
603
|
+
const SQLITE_IOCAP_ATOMIC512: int = 2
|
|
604
|
+
const SQLITE_IOCAP_ATOMIC1K: int = 4
|
|
605
|
+
const SQLITE_IOCAP_ATOMIC2K: int = 8
|
|
606
|
+
const SQLITE_IOCAP_ATOMIC4K: int = 16
|
|
607
|
+
const SQLITE_IOCAP_ATOMIC8K: int = 32
|
|
608
|
+
const SQLITE_IOCAP_ATOMIC16K: int = 64
|
|
609
|
+
const SQLITE_IOCAP_ATOMIC32K: int = 128
|
|
610
|
+
const SQLITE_IOCAP_ATOMIC64K: int = 256
|
|
611
|
+
const SQLITE_IOCAP_SAFE_APPEND: int = 512
|
|
612
|
+
const SQLITE_IOCAP_SEQUENTIAL: int = 1024
|
|
613
|
+
const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: int = 2048
|
|
614
|
+
const SQLITE_IOCAP_POWERSAFE_OVERWRITE: int = 4096
|
|
615
|
+
const SQLITE_IOCAP_IMMUTABLE: int = 8192
|
|
616
|
+
const SQLITE_IOCAP_BATCH_ATOMIC: int = 16384
|
|
617
|
+
const SQLITE_IOCAP_SUBPAGE_READ: int = 32768
|
|
618
|
+
const SQLITE_LOCK_NONE: int = 0
|
|
619
|
+
const SQLITE_LOCK_SHARED: int = 1
|
|
620
|
+
const SQLITE_LOCK_RESERVED: int = 2
|
|
621
|
+
const SQLITE_LOCK_PENDING: int = 3
|
|
622
|
+
const SQLITE_LOCK_EXCLUSIVE: int = 4
|
|
623
|
+
const SQLITE_SYNC_NORMAL: int = 2
|
|
624
|
+
const SQLITE_SYNC_FULL: int = 3
|
|
625
|
+
const SQLITE_SYNC_DATAONLY: int = 16
|
|
626
|
+
const SQLITE_FCNTL_LOCKSTATE: int = 1
|
|
627
|
+
const SQLITE_FCNTL_GET_LOCKPROXYFILE: int = 2
|
|
628
|
+
const SQLITE_FCNTL_SET_LOCKPROXYFILE: int = 3
|
|
629
|
+
const SQLITE_FCNTL_LAST_ERRNO: int = 4
|
|
630
|
+
const SQLITE_FCNTL_SIZE_HINT: int = 5
|
|
631
|
+
const SQLITE_FCNTL_CHUNK_SIZE: int = 6
|
|
632
|
+
const SQLITE_FCNTL_FILE_POINTER: int = 7
|
|
633
|
+
const SQLITE_FCNTL_SYNC_OMITTED: int = 8
|
|
634
|
+
const SQLITE_FCNTL_WIN32_AV_RETRY: int = 9
|
|
635
|
+
const SQLITE_FCNTL_PERSIST_WAL: int = 10
|
|
636
|
+
const SQLITE_FCNTL_OVERWRITE: int = 11
|
|
637
|
+
const SQLITE_FCNTL_VFSNAME: int = 12
|
|
638
|
+
const SQLITE_FCNTL_POWERSAFE_OVERWRITE: int = 13
|
|
639
|
+
const SQLITE_FCNTL_PRAGMA: int = 14
|
|
640
|
+
const SQLITE_FCNTL_BUSYHANDLER: int = 15
|
|
641
|
+
const SQLITE_FCNTL_TEMPFILENAME: int = 16
|
|
642
|
+
const SQLITE_FCNTL_MMAP_SIZE: int = 18
|
|
643
|
+
const SQLITE_FCNTL_TRACE: int = 19
|
|
644
|
+
const SQLITE_FCNTL_HAS_MOVED: int = 20
|
|
645
|
+
const SQLITE_FCNTL_SYNC: int = 21
|
|
646
|
+
const SQLITE_FCNTL_COMMIT_PHASETWO: int = 22
|
|
647
|
+
const SQLITE_FCNTL_WIN32_SET_HANDLE: int = 23
|
|
648
|
+
const SQLITE_FCNTL_WAL_BLOCK: int = 24
|
|
649
|
+
const SQLITE_FCNTL_ZIPVFS: int = 25
|
|
650
|
+
const SQLITE_FCNTL_RBU: int = 26
|
|
651
|
+
const SQLITE_FCNTL_VFS_POINTER: int = 27
|
|
652
|
+
const SQLITE_FCNTL_JOURNAL_POINTER: int = 28
|
|
653
|
+
const SQLITE_FCNTL_WIN32_GET_HANDLE: int = 29
|
|
654
|
+
const SQLITE_FCNTL_PDB: int = 30
|
|
655
|
+
const SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: int = 31
|
|
656
|
+
const SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: int = 32
|
|
657
|
+
const SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: int = 33
|
|
658
|
+
const SQLITE_FCNTL_LOCK_TIMEOUT: int = 34
|
|
659
|
+
const SQLITE_FCNTL_DATA_VERSION: int = 35
|
|
660
|
+
const SQLITE_FCNTL_SIZE_LIMIT: int = 36
|
|
661
|
+
const SQLITE_FCNTL_CKPT_DONE: int = 37
|
|
662
|
+
const SQLITE_FCNTL_RESERVE_BYTES: int = 38
|
|
663
|
+
const SQLITE_FCNTL_CKPT_START: int = 39
|
|
664
|
+
const SQLITE_FCNTL_EXTERNAL_READER: int = 40
|
|
665
|
+
const SQLITE_FCNTL_CKSM_FILE: int = 41
|
|
666
|
+
const SQLITE_FCNTL_RESET_CACHE: int = 42
|
|
667
|
+
const SQLITE_FCNTL_NULL_IO: int = 43
|
|
668
|
+
const SQLITE_FCNTL_BLOCK_ON_CONNECT: int = 44
|
|
669
|
+
const SQLITE_FCNTL_FILESTAT: int = 45
|
|
670
|
+
const SQLITE_ACCESS_EXISTS: int = 0
|
|
671
|
+
const SQLITE_ACCESS_READWRITE: int = 1
|
|
672
|
+
const SQLITE_ACCESS_READ: int = 2
|
|
673
|
+
const SQLITE_SHM_UNLOCK: int = 1
|
|
674
|
+
const SQLITE_SHM_LOCK: int = 2
|
|
675
|
+
const SQLITE_SHM_SHARED: int = 4
|
|
676
|
+
const SQLITE_SHM_EXCLUSIVE: int = 8
|
|
677
|
+
const SQLITE_SHM_NLOCK: int = 8
|
|
678
|
+
const SQLITE_CONFIG_SINGLETHREAD: int = 1
|
|
679
|
+
const SQLITE_CONFIG_MULTITHREAD: int = 2
|
|
680
|
+
const SQLITE_CONFIG_SERIALIZED: int = 3
|
|
681
|
+
const SQLITE_CONFIG_MALLOC: int = 4
|
|
682
|
+
const SQLITE_CONFIG_GETMALLOC: int = 5
|
|
683
|
+
const SQLITE_CONFIG_SCRATCH: int = 6
|
|
684
|
+
const SQLITE_CONFIG_PAGECACHE: int = 7
|
|
685
|
+
const SQLITE_CONFIG_HEAP: int = 8
|
|
686
|
+
const SQLITE_CONFIG_MEMSTATUS: int = 9
|
|
687
|
+
const SQLITE_CONFIG_MUTEX: int = 10
|
|
688
|
+
const SQLITE_CONFIG_GETMUTEX: int = 11
|
|
689
|
+
const SQLITE_CONFIG_LOOKASIDE: int = 13
|
|
690
|
+
const SQLITE_CONFIG_PCACHE: int = 14
|
|
691
|
+
const SQLITE_CONFIG_GETPCACHE: int = 15
|
|
692
|
+
const SQLITE_CONFIG_LOG: int = 16
|
|
693
|
+
const SQLITE_CONFIG_URI: int = 17
|
|
694
|
+
const SQLITE_CONFIG_PCACHE2: int = 18
|
|
695
|
+
const SQLITE_CONFIG_GETPCACHE2: int = 19
|
|
696
|
+
const SQLITE_CONFIG_COVERING_INDEX_SCAN: int = 20
|
|
697
|
+
const SQLITE_CONFIG_SQLLOG: int = 21
|
|
698
|
+
const SQLITE_CONFIG_MMAP_SIZE: int = 22
|
|
699
|
+
const SQLITE_CONFIG_WIN32_HEAPSIZE: int = 23
|
|
700
|
+
const SQLITE_CONFIG_PCACHE_HDRSZ: int = 24
|
|
701
|
+
const SQLITE_CONFIG_PMASZ: int = 25
|
|
702
|
+
const SQLITE_CONFIG_STMTJRNL_SPILL: int = 26
|
|
703
|
+
const SQLITE_CONFIG_SMALL_MALLOC: int = 27
|
|
704
|
+
const SQLITE_CONFIG_SORTERREF_SIZE: int = 28
|
|
705
|
+
const SQLITE_CONFIG_MEMDB_MAXSIZE: int = 29
|
|
706
|
+
const SQLITE_CONFIG_ROWID_IN_VIEW: int = 30
|
|
707
|
+
const SQLITE_DBCONFIG_MAINDBNAME: int = 1000
|
|
708
|
+
const SQLITE_DBCONFIG_LOOKASIDE: int = 1001
|
|
709
|
+
const SQLITE_DBCONFIG_ENABLE_FKEY: int = 1002
|
|
710
|
+
const SQLITE_DBCONFIG_ENABLE_TRIGGER: int = 1003
|
|
711
|
+
const SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER: int = 1004
|
|
712
|
+
const SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: int = 1005
|
|
713
|
+
const SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE: int = 1006
|
|
714
|
+
const SQLITE_DBCONFIG_ENABLE_QPSG: int = 1007
|
|
715
|
+
const SQLITE_DBCONFIG_TRIGGER_EQP: int = 1008
|
|
716
|
+
const SQLITE_DBCONFIG_RESET_DATABASE: int = 1009
|
|
717
|
+
const SQLITE_DBCONFIG_DEFENSIVE: int = 1010
|
|
718
|
+
const SQLITE_DBCONFIG_WRITABLE_SCHEMA: int = 1011
|
|
719
|
+
const SQLITE_DBCONFIG_LEGACY_ALTER_TABLE: int = 1012
|
|
720
|
+
const SQLITE_DBCONFIG_DQS_DML: int = 1013
|
|
721
|
+
const SQLITE_DBCONFIG_DQS_DDL: int = 1014
|
|
722
|
+
const SQLITE_DBCONFIG_ENABLE_VIEW: int = 1015
|
|
723
|
+
const SQLITE_DBCONFIG_LEGACY_FILE_FORMAT: int = 1016
|
|
724
|
+
const SQLITE_DBCONFIG_TRUSTED_SCHEMA: int = 1017
|
|
725
|
+
const SQLITE_DBCONFIG_STMT_SCANSTATUS: int = 1018
|
|
726
|
+
const SQLITE_DBCONFIG_REVERSE_SCANORDER: int = 1019
|
|
727
|
+
const SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE: int = 1020
|
|
728
|
+
const SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE: int = 1021
|
|
729
|
+
const SQLITE_DBCONFIG_ENABLE_COMMENTS: int = 1022
|
|
730
|
+
const SQLITE_DBCONFIG_FP_DIGITS: int = 1023
|
|
731
|
+
const SQLITE_DBCONFIG_MAX: int = 1023
|
|
732
|
+
const SQLITE_SETLK_BLOCK_ON_CONNECT: int = 1
|
|
733
|
+
const SQLITE_DENY: int = 1
|
|
734
|
+
const SQLITE_IGNORE: int = 2
|
|
735
|
+
const SQLITE_CREATE_INDEX: int = 1
|
|
736
|
+
const SQLITE_CREATE_TABLE: int = 2
|
|
737
|
+
const SQLITE_CREATE_TEMP_INDEX: int = 3
|
|
738
|
+
const SQLITE_CREATE_TEMP_TABLE: int = 4
|
|
739
|
+
const SQLITE_CREATE_TEMP_TRIGGER: int = 5
|
|
740
|
+
const SQLITE_CREATE_TEMP_VIEW: int = 6
|
|
741
|
+
const SQLITE_CREATE_TRIGGER: int = 7
|
|
742
|
+
const SQLITE_CREATE_VIEW: int = 8
|
|
743
|
+
const SQLITE_DELETE: int = 9
|
|
744
|
+
const SQLITE_DROP_INDEX: int = 10
|
|
745
|
+
const SQLITE_DROP_TABLE: int = 11
|
|
746
|
+
const SQLITE_DROP_TEMP_INDEX: int = 12
|
|
747
|
+
const SQLITE_DROP_TEMP_TABLE: int = 13
|
|
748
|
+
const SQLITE_DROP_TEMP_TRIGGER: int = 14
|
|
749
|
+
const SQLITE_DROP_TEMP_VIEW: int = 15
|
|
750
|
+
const SQLITE_DROP_TRIGGER: int = 16
|
|
751
|
+
const SQLITE_DROP_VIEW: int = 17
|
|
752
|
+
const SQLITE_INSERT: int = 18
|
|
753
|
+
const SQLITE_PRAGMA: int = 19
|
|
754
|
+
const SQLITE_READ: int = 20
|
|
755
|
+
const SQLITE_SELECT: int = 21
|
|
756
|
+
const SQLITE_TRANSACTION: int = 22
|
|
757
|
+
const SQLITE_UPDATE: int = 23
|
|
758
|
+
const SQLITE_ATTACH: int = 24
|
|
759
|
+
const SQLITE_DETACH: int = 25
|
|
760
|
+
const SQLITE_ALTER_TABLE: int = 26
|
|
761
|
+
const SQLITE_REINDEX: int = 27
|
|
762
|
+
const SQLITE_ANALYZE: int = 28
|
|
763
|
+
const SQLITE_CREATE_VTABLE: int = 29
|
|
764
|
+
const SQLITE_DROP_VTABLE: int = 30
|
|
765
|
+
const SQLITE_FUNCTION: int = 31
|
|
766
|
+
const SQLITE_SAVEPOINT: int = 32
|
|
767
|
+
const SQLITE_COPY: int = 0
|
|
768
|
+
const SQLITE_RECURSIVE: int = 33
|
|
769
|
+
const SQLITE_TRACE_STMT: int = 1
|
|
770
|
+
const SQLITE_TRACE_PROFILE: int = 2
|
|
771
|
+
const SQLITE_TRACE_ROW: int = 4
|
|
772
|
+
const SQLITE_TRACE_CLOSE: int = 8
|
|
773
|
+
const SQLITE_LIMIT_LENGTH: int = 0
|
|
774
|
+
const SQLITE_LIMIT_SQL_LENGTH: int = 1
|
|
775
|
+
const SQLITE_LIMIT_COLUMN: int = 2
|
|
776
|
+
const SQLITE_LIMIT_EXPR_DEPTH: int = 3
|
|
777
|
+
const SQLITE_LIMIT_COMPOUND_SELECT: int = 4
|
|
778
|
+
const SQLITE_LIMIT_VDBE_OP: int = 5
|
|
779
|
+
const SQLITE_LIMIT_FUNCTION_ARG: int = 6
|
|
780
|
+
const SQLITE_LIMIT_ATTACHED: int = 7
|
|
781
|
+
const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: int = 8
|
|
782
|
+
const SQLITE_LIMIT_VARIABLE_NUMBER: int = 9
|
|
783
|
+
const SQLITE_LIMIT_TRIGGER_DEPTH: int = 10
|
|
784
|
+
const SQLITE_LIMIT_WORKER_THREADS: int = 11
|
|
785
|
+
const SQLITE_LIMIT_PARSER_DEPTH: int = 12
|
|
786
|
+
const SQLITE_PREPARE_PERSISTENT: int = 1
|
|
787
|
+
const SQLITE_PREPARE_NORMALIZE: int = 2
|
|
788
|
+
const SQLITE_PREPARE_NO_VTAB: int = 4
|
|
789
|
+
const SQLITE_PREPARE_DONT_LOG: int = 16
|
|
790
|
+
const SQLITE_PREPARE_FROM_DDL: int = 32
|
|
791
|
+
const SQLITE_INTEGER: int = 1
|
|
792
|
+
const SQLITE_FLOAT: int = 2
|
|
793
|
+
const SQLITE_BLOB: int = 4
|
|
794
|
+
const SQLITE_NULL: int = 5
|
|
795
|
+
const SQLITE_TEXT: int = 3
|
|
796
|
+
const SQLITE_UTF8: int = 1
|
|
797
|
+
const SQLITE_UTF16LE: int = 2
|
|
798
|
+
const SQLITE_UTF16BE: int = 3
|
|
799
|
+
const SQLITE_UTF16: int = 4
|
|
800
|
+
const SQLITE_ANY: int = 5
|
|
801
|
+
const SQLITE_UTF16_ALIGNED: int = 8
|
|
802
|
+
const SQLITE_UTF8_ZT: int = 16
|
|
803
|
+
const SQLITE_DETERMINISTIC: int = 2048
|
|
804
|
+
const SQLITE_DIRECTONLY: int = 524288
|
|
805
|
+
const SQLITE_SUBTYPE: int = 1048576
|
|
806
|
+
const SQLITE_INNOCUOUS: int = 2097152
|
|
807
|
+
const SQLITE_RESULT_SUBTYPE: int = 16777216
|
|
808
|
+
const SQLITE_SELFORDER1: int = 33554432
|
|
809
|
+
const SQLITE_WIN32_DATA_DIRECTORY_TYPE: int = 1
|
|
810
|
+
const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: int = 2
|
|
811
|
+
const SQLITE_TXN_NONE: int = 0
|
|
812
|
+
const SQLITE_TXN_READ: int = 1
|
|
813
|
+
const SQLITE_TXN_WRITE: int = 2
|
|
814
|
+
const SQLITE_INDEX_SCAN_UNIQUE: int = 1
|
|
815
|
+
const SQLITE_INDEX_SCAN_HEX: int = 2
|
|
816
|
+
const SQLITE_INDEX_CONSTRAINT_EQ: int = 2
|
|
817
|
+
const SQLITE_INDEX_CONSTRAINT_GT: int = 4
|
|
818
|
+
const SQLITE_INDEX_CONSTRAINT_LE: int = 8
|
|
819
|
+
const SQLITE_INDEX_CONSTRAINT_LT: int = 16
|
|
820
|
+
const SQLITE_INDEX_CONSTRAINT_GE: int = 32
|
|
821
|
+
const SQLITE_INDEX_CONSTRAINT_MATCH: int = 64
|
|
822
|
+
const SQLITE_INDEX_CONSTRAINT_LIKE: int = 65
|
|
823
|
+
const SQLITE_INDEX_CONSTRAINT_GLOB: int = 66
|
|
824
|
+
const SQLITE_INDEX_CONSTRAINT_REGEXP: int = 67
|
|
825
|
+
const SQLITE_INDEX_CONSTRAINT_NE: int = 68
|
|
826
|
+
const SQLITE_INDEX_CONSTRAINT_ISNOT: int = 69
|
|
827
|
+
const SQLITE_INDEX_CONSTRAINT_ISNOTNULL: int = 70
|
|
828
|
+
const SQLITE_INDEX_CONSTRAINT_ISNULL: int = 71
|
|
829
|
+
const SQLITE_INDEX_CONSTRAINT_IS: int = 72
|
|
830
|
+
const SQLITE_INDEX_CONSTRAINT_LIMIT: int = 73
|
|
831
|
+
const SQLITE_INDEX_CONSTRAINT_OFFSET: int = 74
|
|
832
|
+
const SQLITE_INDEX_CONSTRAINT_FUNCTION: int = 150
|
|
833
|
+
const SQLITE_MUTEX_FAST: int = 0
|
|
834
|
+
const SQLITE_MUTEX_RECURSIVE: int = 1
|
|
835
|
+
const SQLITE_MUTEX_STATIC_MAIN: int = 2
|
|
836
|
+
const SQLITE_MUTEX_STATIC_MEM: int = 3
|
|
837
|
+
const SQLITE_MUTEX_STATIC_MEM2: int = 4
|
|
838
|
+
const SQLITE_MUTEX_STATIC_OPEN: int = 4
|
|
839
|
+
const SQLITE_MUTEX_STATIC_PRNG: int = 5
|
|
840
|
+
const SQLITE_MUTEX_STATIC_LRU: int = 6
|
|
841
|
+
const SQLITE_MUTEX_STATIC_LRU2: int = 7
|
|
842
|
+
const SQLITE_MUTEX_STATIC_PMEM: int = 7
|
|
843
|
+
const SQLITE_MUTEX_STATIC_APP1: int = 8
|
|
844
|
+
const SQLITE_MUTEX_STATIC_APP2: int = 9
|
|
845
|
+
const SQLITE_MUTEX_STATIC_APP3: int = 10
|
|
846
|
+
const SQLITE_MUTEX_STATIC_VFS1: int = 11
|
|
847
|
+
const SQLITE_MUTEX_STATIC_VFS2: int = 12
|
|
848
|
+
const SQLITE_MUTEX_STATIC_VFS3: int = 13
|
|
849
|
+
const SQLITE_MUTEX_STATIC_MASTER: int = 2
|
|
850
|
+
const SQLITE_TESTCTRL_FIRST: int = 5
|
|
851
|
+
const SQLITE_TESTCTRL_PRNG_SAVE: int = 5
|
|
852
|
+
const SQLITE_TESTCTRL_PRNG_RESTORE: int = 6
|
|
853
|
+
const SQLITE_TESTCTRL_PRNG_RESET: int = 7
|
|
854
|
+
const SQLITE_TESTCTRL_FK_NO_ACTION: int = 7
|
|
855
|
+
const SQLITE_TESTCTRL_BITVEC_TEST: int = 8
|
|
856
|
+
const SQLITE_TESTCTRL_FAULT_INSTALL: int = 9
|
|
857
|
+
const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: int = 10
|
|
858
|
+
const SQLITE_TESTCTRL_PENDING_BYTE: int = 11
|
|
859
|
+
const SQLITE_TESTCTRL_ASSERT: int = 12
|
|
860
|
+
const SQLITE_TESTCTRL_ALWAYS: int = 13
|
|
861
|
+
const SQLITE_TESTCTRL_RESERVE: int = 14
|
|
862
|
+
const SQLITE_TESTCTRL_JSON_SELFCHECK: int = 14
|
|
863
|
+
const SQLITE_TESTCTRL_OPTIMIZATIONS: int = 15
|
|
864
|
+
const SQLITE_TESTCTRL_ISKEYWORD: int = 16
|
|
865
|
+
const SQLITE_TESTCTRL_GETOPT: int = 16
|
|
866
|
+
const SQLITE_TESTCTRL_SCRATCHMALLOC: int = 17
|
|
867
|
+
const SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: int = 17
|
|
868
|
+
const SQLITE_TESTCTRL_LOCALTIME_FAULT: int = 18
|
|
869
|
+
const SQLITE_TESTCTRL_EXPLAIN_STMT: int = 19
|
|
870
|
+
const SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: int = 19
|
|
871
|
+
const SQLITE_TESTCTRL_NEVER_CORRUPT: int = 20
|
|
872
|
+
const SQLITE_TESTCTRL_VDBE_COVERAGE: int = 21
|
|
873
|
+
const SQLITE_TESTCTRL_BYTEORDER: int = 22
|
|
874
|
+
const SQLITE_TESTCTRL_ISINIT: int = 23
|
|
875
|
+
const SQLITE_TESTCTRL_SORTER_MMAP: int = 24
|
|
876
|
+
const SQLITE_TESTCTRL_IMPOSTER: int = 25
|
|
877
|
+
const SQLITE_TESTCTRL_PARSER_COVERAGE: int = 26
|
|
878
|
+
const SQLITE_TESTCTRL_RESULT_INTREAL: int = 27
|
|
879
|
+
const SQLITE_TESTCTRL_PRNG_SEED: int = 28
|
|
880
|
+
const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: int = 29
|
|
881
|
+
const SQLITE_TESTCTRL_SEEK_COUNT: int = 30
|
|
882
|
+
const SQLITE_TESTCTRL_TRACEFLAGS: int = 31
|
|
883
|
+
const SQLITE_TESTCTRL_TUNE: int = 32
|
|
884
|
+
const SQLITE_TESTCTRL_LOGEST: int = 33
|
|
885
|
+
const SQLITE_TESTCTRL_USELONGDOUBLE: int = 34
|
|
886
|
+
const SQLITE_TESTCTRL_ATOF: int = 34
|
|
887
|
+
const SQLITE_TESTCTRL_LAST: int = 34
|
|
888
|
+
const SQLITE_STATUS_MEMORY_USED: int = 0
|
|
889
|
+
const SQLITE_STATUS_PAGECACHE_USED: int = 1
|
|
890
|
+
const SQLITE_STATUS_PAGECACHE_OVERFLOW: int = 2
|
|
891
|
+
const SQLITE_STATUS_SCRATCH_USED: int = 3
|
|
892
|
+
const SQLITE_STATUS_SCRATCH_OVERFLOW: int = 4
|
|
893
|
+
const SQLITE_STATUS_MALLOC_SIZE: int = 5
|
|
894
|
+
const SQLITE_STATUS_PARSER_STACK: int = 6
|
|
895
|
+
const SQLITE_STATUS_PAGECACHE_SIZE: int = 7
|
|
896
|
+
const SQLITE_STATUS_SCRATCH_SIZE: int = 8
|
|
897
|
+
const SQLITE_STATUS_MALLOC_COUNT: int = 9
|
|
898
|
+
const SQLITE_DBSTATUS_LOOKASIDE_USED: int = 0
|
|
899
|
+
const SQLITE_DBSTATUS_CACHE_USED: int = 1
|
|
900
|
+
const SQLITE_DBSTATUS_SCHEMA_USED: int = 2
|
|
901
|
+
const SQLITE_DBSTATUS_STMT_USED: int = 3
|
|
902
|
+
const SQLITE_DBSTATUS_LOOKASIDE_HIT: int = 4
|
|
903
|
+
const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: int = 5
|
|
904
|
+
const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: int = 6
|
|
905
|
+
const SQLITE_DBSTATUS_CACHE_HIT: int = 7
|
|
906
|
+
const SQLITE_DBSTATUS_CACHE_MISS: int = 8
|
|
907
|
+
const SQLITE_DBSTATUS_CACHE_WRITE: int = 9
|
|
908
|
+
const SQLITE_DBSTATUS_DEFERRED_FKS: int = 10
|
|
909
|
+
const SQLITE_DBSTATUS_CACHE_USED_SHARED: int = 11
|
|
910
|
+
const SQLITE_DBSTATUS_CACHE_SPILL: int = 12
|
|
911
|
+
const SQLITE_DBSTATUS_TEMPBUF_SPILL: int = 13
|
|
912
|
+
const SQLITE_DBSTATUS_MAX: int = 13
|
|
913
|
+
const SQLITE_STMTSTATUS_FULLSCAN_STEP: int = 1
|
|
914
|
+
const SQLITE_STMTSTATUS_SORT: int = 2
|
|
915
|
+
const SQLITE_STMTSTATUS_AUTOINDEX: int = 3
|
|
916
|
+
const SQLITE_STMTSTATUS_VM_STEP: int = 4
|
|
917
|
+
const SQLITE_STMTSTATUS_REPREPARE: int = 5
|
|
918
|
+
const SQLITE_STMTSTATUS_RUN: int = 6
|
|
919
|
+
const SQLITE_STMTSTATUS_FILTER_MISS: int = 7
|
|
920
|
+
const SQLITE_STMTSTATUS_FILTER_HIT: int = 8
|
|
921
|
+
const SQLITE_STMTSTATUS_MEMUSED: int = 99
|
|
922
|
+
const SQLITE_CHECKPOINT_NOOP: int = -1
|
|
923
|
+
const SQLITE_CHECKPOINT_PASSIVE: int = 0
|
|
924
|
+
const SQLITE_CHECKPOINT_FULL: int = 1
|
|
925
|
+
const SQLITE_CHECKPOINT_RESTART: int = 2
|
|
926
|
+
const SQLITE_CHECKPOINT_TRUNCATE: int = 3
|
|
927
|
+
const SQLITE_VTAB_CONSTRAINT_SUPPORT: int = 1
|
|
928
|
+
const SQLITE_VTAB_INNOCUOUS: int = 2
|
|
929
|
+
const SQLITE_VTAB_DIRECTONLY: int = 3
|
|
930
|
+
const SQLITE_VTAB_USES_ALL_SCHEMAS: int = 4
|
|
931
|
+
const SQLITE_ROLLBACK: int = 1
|
|
932
|
+
const SQLITE_FAIL: int = 3
|
|
933
|
+
const SQLITE_REPLACE: int = 5
|
|
934
|
+
const SQLITE_SCANSTAT_NLOOP: int = 0
|
|
935
|
+
const SQLITE_SCANSTAT_NVISIT: int = 1
|
|
936
|
+
const SQLITE_SCANSTAT_EST: int = 2
|
|
937
|
+
const SQLITE_SCANSTAT_NAME: int = 3
|
|
938
|
+
const SQLITE_SCANSTAT_EXPLAIN: int = 4
|
|
939
|
+
const SQLITE_SCANSTAT_SELECTID: int = 5
|
|
940
|
+
const SQLITE_SCANSTAT_PARENTID: int = 6
|
|
941
|
+
const SQLITE_SCANSTAT_NCYCLE: int = 7
|
|
942
|
+
const SQLITE_SCANSTAT_COMPLEX: int = 1
|
|
943
|
+
const SQLITE_SERIALIZE_NOCOPY: int = 1
|
|
944
|
+
const SQLITE_DESERIALIZE_FREEONCLOSE: int = 1
|
|
945
|
+
const SQLITE_DESERIALIZE_RESIZEABLE: int = 2
|
|
946
|
+
const SQLITE_DESERIALIZE_READONLY: int = 4
|
|
947
|
+
const SQLITE_CARRAY_INT32: int = 0
|
|
948
|
+
const SQLITE_CARRAY_INT64: int = 1
|
|
949
|
+
const SQLITE_CARRAY_DOUBLE: int = 2
|
|
950
|
+
const SQLITE_CARRAY_TEXT: int = 3
|
|
951
|
+
const SQLITE_CARRAY_BLOB: int = 4
|