amalgalite 1.8.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/CONTRIBUTING.md +60 -0
  3. data/HISTORY.md +386 -0
  4. data/LICENSE +31 -0
  5. data/Manifest.txt +105 -0
  6. data/README.md +62 -0
  7. data/Rakefile +27 -0
  8. data/TODO.md +57 -0
  9. data/bin/amalgalite-pack +147 -0
  10. data/examples/a.rb +9 -0
  11. data/examples/blob.rb +88 -0
  12. data/examples/bootstrap.rb +36 -0
  13. data/examples/define_aggregate.rb +75 -0
  14. data/examples/define_function.rb +104 -0
  15. data/examples/fts5.rb +152 -0
  16. data/examples/gem-db.rb +94 -0
  17. data/examples/require_me.rb +11 -0
  18. data/examples/requires.rb +42 -0
  19. data/examples/schema-info.rb +34 -0
  20. data/ext/amalgalite/c/amalgalite.c +355 -0
  21. data/ext/amalgalite/c/amalgalite.h +151 -0
  22. data/ext/amalgalite/c/amalgalite_blob.c +240 -0
  23. data/ext/amalgalite/c/amalgalite_constants.c +1432 -0
  24. data/ext/amalgalite/c/amalgalite_database.c +1188 -0
  25. data/ext/amalgalite/c/amalgalite_requires_bootstrap.c +282 -0
  26. data/ext/amalgalite/c/amalgalite_statement.c +649 -0
  27. data/ext/amalgalite/c/extconf.rb +71 -0
  28. data/ext/amalgalite/c/gen_constants.rb +353 -0
  29. data/ext/amalgalite/c/notes.txt +134 -0
  30. data/ext/amalgalite/c/sqlite3.c +243616 -0
  31. data/ext/amalgalite/c/sqlite3.h +12894 -0
  32. data/ext/amalgalite/c/sqlite3_options.h +4 -0
  33. data/ext/amalgalite/c/sqlite3ext.h +705 -0
  34. data/lib/amalgalite/3.1/amalgalite.so +0 -0
  35. data/lib/amalgalite/aggregate.rb +73 -0
  36. data/lib/amalgalite/blob.rb +186 -0
  37. data/lib/amalgalite/boolean.rb +42 -0
  38. data/lib/amalgalite/busy_timeout.rb +47 -0
  39. data/lib/amalgalite/column.rb +99 -0
  40. data/lib/amalgalite/core_ext/kernel/require.rb +21 -0
  41. data/lib/amalgalite/csv_table_importer.rb +75 -0
  42. data/lib/amalgalite/database.rb +933 -0
  43. data/lib/amalgalite/function.rb +61 -0
  44. data/lib/amalgalite/index.rb +43 -0
  45. data/lib/amalgalite/memory_database.rb +15 -0
  46. data/lib/amalgalite/packer.rb +231 -0
  47. data/lib/amalgalite/paths.rb +80 -0
  48. data/lib/amalgalite/profile_tap.rb +131 -0
  49. data/lib/amalgalite/progress_handler.rb +21 -0
  50. data/lib/amalgalite/requires.rb +151 -0
  51. data/lib/amalgalite/schema.rb +225 -0
  52. data/lib/amalgalite/sqlite3/constants.rb +95 -0
  53. data/lib/amalgalite/sqlite3/database/function.rb +48 -0
  54. data/lib/amalgalite/sqlite3/database/status.rb +68 -0
  55. data/lib/amalgalite/sqlite3/status.rb +60 -0
  56. data/lib/amalgalite/sqlite3/version.rb +55 -0
  57. data/lib/amalgalite/sqlite3.rb +6 -0
  58. data/lib/amalgalite/statement.rb +421 -0
  59. data/lib/amalgalite/table.rb +91 -0
  60. data/lib/amalgalite/taps/console.rb +27 -0
  61. data/lib/amalgalite/taps/io.rb +74 -0
  62. data/lib/amalgalite/taps.rb +2 -0
  63. data/lib/amalgalite/trace_tap.rb +35 -0
  64. data/lib/amalgalite/type_map.rb +63 -0
  65. data/lib/amalgalite/type_maps/default_map.rb +166 -0
  66. data/lib/amalgalite/type_maps/storage_map.rb +38 -0
  67. data/lib/amalgalite/type_maps/text_map.rb +21 -0
  68. data/lib/amalgalite/version.rb +8 -0
  69. data/lib/amalgalite/view.rb +26 -0
  70. data/lib/amalgalite.rb +51 -0
  71. data/spec/aggregate_spec.rb +158 -0
  72. data/spec/amalgalite_spec.rb +4 -0
  73. data/spec/blob_spec.rb +78 -0
  74. data/spec/boolean_spec.rb +24 -0
  75. data/spec/busy_handler.rb +157 -0
  76. data/spec/data/iso-3166-country.txt +242 -0
  77. data/spec/data/iso-3166-schema.sql +22 -0
  78. data/spec/data/iso-3166-subcountry.txt +3995 -0
  79. data/spec/data/make-iso-db.sh +12 -0
  80. data/spec/database_spec.rb +505 -0
  81. data/spec/default_map_spec.rb +92 -0
  82. data/spec/function_spec.rb +78 -0
  83. data/spec/integeration_spec.rb +97 -0
  84. data/spec/iso_3166_database.rb +58 -0
  85. data/spec/json_spec.rb +24 -0
  86. data/spec/packer_spec.rb +60 -0
  87. data/spec/paths_spec.rb +28 -0
  88. data/spec/progress_handler_spec.rb +91 -0
  89. data/spec/requires_spec.rb +54 -0
  90. data/spec/rtree_spec.rb +66 -0
  91. data/spec/schema_spec.rb +131 -0
  92. data/spec/spec_helper.rb +48 -0
  93. data/spec/sqlite3/constants_spec.rb +108 -0
  94. data/spec/sqlite3/database_status_spec.rb +36 -0
  95. data/spec/sqlite3/status_spec.rb +22 -0
  96. data/spec/sqlite3/version_spec.rb +28 -0
  97. data/spec/sqlite3_spec.rb +53 -0
  98. data/spec/statement_spec.rb +168 -0
  99. data/spec/storage_map_spec.rb +38 -0
  100. data/spec/tap_spec.rb +57 -0
  101. data/spec/text_map_spec.rb +20 -0
  102. data/spec/type_map_spec.rb +14 -0
  103. data/spec/version_spec.rb +8 -0
  104. data/tasks/custom.rake +101 -0
  105. data/tasks/default.rake +244 -0
  106. data/tasks/extension.rake +28 -0
  107. data/tasks/this.rb +208 -0
  108. metadata +325 -0
@@ -0,0 +1,1432 @@
1
+ /* Generated by gen_constants.rb -- do not edit */
2
+
3
+ #include "amalgalite.h"
4
+ /**
5
+ * Document-class: Amalgalite::SQLite3::Constants
6
+ *
7
+ * class holding constants in the sqlite extension
8
+ */
9
+ void Init_amalgalite_constants( )
10
+ {
11
+
12
+ VALUE ma = rb_define_module("Amalgalite");
13
+ VALUE mas = rb_define_module_under(ma, "SQLite3");
14
+
15
+ /*
16
+ * module encapsulating all the SQLite C extension constants
17
+ */
18
+ VALUE mC = rb_define_module_under( mas, "Constants");
19
+ /**
20
+ * module encapsulating the SQLite3 C extension constants for Access
21
+ */
22
+ VALUE mC_Access = rb_define_module_under(mC, "Access");
23
+
24
+ /**
25
+ * module encapsulating the SQLite3 C extension constants for Authorizer
26
+ */
27
+ VALUE mC_Authorizer = rb_define_module_under(mC, "Authorizer");
28
+
29
+ /**
30
+ * module encapsulating the SQLite3 C extension constants for Changeset
31
+ */
32
+ VALUE mC_Changeset = rb_define_module_under(mC, "Changeset");
33
+
34
+ /**
35
+ * module encapsulating the SQLite3 C extension constants for ChangesetApply
36
+ */
37
+ VALUE mC_ChangesetApply = rb_define_module_under(mC, "ChangesetApply");
38
+
39
+ /**
40
+ * module encapsulating the SQLite3 C extension constants for ChangesetStart
41
+ */
42
+ VALUE mC_ChangesetStart = rb_define_module_under(mC, "ChangesetStart");
43
+
44
+ /**
45
+ * module encapsulating the SQLite3 C extension constants for Checkpoint
46
+ */
47
+ VALUE mC_Checkpoint = rb_define_module_under(mC, "Checkpoint");
48
+
49
+ /**
50
+ * module encapsulating the SQLite3 C extension constants for Config
51
+ */
52
+ VALUE mC_Config = rb_define_module_under(mC, "Config");
53
+
54
+ /**
55
+ * module encapsulating the SQLite3 C extension constants for DBConfig
56
+ */
57
+ VALUE mC_DBConfig = rb_define_module_under(mC, "DBConfig");
58
+
59
+ /**
60
+ * module encapsulating the SQLite3 C extension constants for DBStatus
61
+ */
62
+ VALUE mC_DBStatus = rb_define_module_under(mC, "DBStatus");
63
+
64
+ /**
65
+ * module encapsulating the SQLite3 C extension constants for DataType
66
+ */
67
+ VALUE mC_DataType = rb_define_module_under(mC, "DataType");
68
+
69
+ /**
70
+ * module encapsulating the SQLite3 C extension constants for Deserialize
71
+ */
72
+ VALUE mC_Deserialize = rb_define_module_under(mC, "Deserialize");
73
+
74
+ /**
75
+ * module encapsulating the SQLite3 C extension constants for FTS5
76
+ */
77
+ VALUE mC_FTS5 = rb_define_module_under(mC, "FTS5");
78
+
79
+ /**
80
+ * module encapsulating the SQLite3 C extension constants for Fcntl
81
+ */
82
+ VALUE mC_Fcntl = rb_define_module_under(mC, "Fcntl");
83
+
84
+ /**
85
+ * module encapsulating the SQLite3 C extension constants for IOCap
86
+ */
87
+ VALUE mC_IOCap = rb_define_module_under(mC, "IOCap");
88
+
89
+ /**
90
+ * module encapsulating the SQLite3 C extension constants for Index
91
+ */
92
+ VALUE mC_Index = rb_define_module_under(mC, "Index");
93
+
94
+ /**
95
+ * module encapsulating the SQLite3 C extension constants for Limit
96
+ */
97
+ VALUE mC_Limit = rb_define_module_under(mC, "Limit");
98
+
99
+ /**
100
+ * module encapsulating the SQLite3 C extension constants for Lock
101
+ */
102
+ VALUE mC_Lock = rb_define_module_under(mC, "Lock");
103
+
104
+ /**
105
+ * module encapsulating the SQLite3 C extension constants for Mutex
106
+ */
107
+ VALUE mC_Mutex = rb_define_module_under(mC, "Mutex");
108
+
109
+ /**
110
+ * module encapsulating the SQLite3 C extension constants for Open
111
+ */
112
+ VALUE mC_Open = rb_define_module_under(mC, "Open");
113
+
114
+ /**
115
+ * module encapsulating the SQLite3 C extension constants for Prepare
116
+ */
117
+ VALUE mC_Prepare = rb_define_module_under(mC, "Prepare");
118
+
119
+ /**
120
+ * module encapsulating the SQLite3 C extension constants for RTree
121
+ */
122
+ VALUE mC_RTree = rb_define_module_under(mC, "RTree");
123
+
124
+ /**
125
+ * module encapsulating the SQLite3 C extension constants for ResultCode
126
+ */
127
+ VALUE mC_ResultCode = rb_define_module_under(mC, "ResultCode");
128
+
129
+ /**
130
+ * module encapsulating the SQLite3 C extension constants for SHM
131
+ */
132
+ VALUE mC_SHM = rb_define_module_under(mC, "SHM");
133
+
134
+ /**
135
+ * module encapsulating the SQLite3 C extension constants for ScanStat
136
+ */
137
+ VALUE mC_ScanStat = rb_define_module_under(mC, "ScanStat");
138
+
139
+ /**
140
+ * module encapsulating the SQLite3 C extension constants for Serialize
141
+ */
142
+ VALUE mC_Serialize = rb_define_module_under(mC, "Serialize");
143
+
144
+ /**
145
+ * module encapsulating the SQLite3 C extension constants for Session
146
+ */
147
+ VALUE mC_Session = rb_define_module_under(mC, "Session");
148
+
149
+ /**
150
+ * module encapsulating the SQLite3 C extension constants for StatementStatus
151
+ */
152
+ VALUE mC_StatementStatus = rb_define_module_under(mC, "StatementStatus");
153
+
154
+ /**
155
+ * module encapsulating the SQLite3 C extension constants for Status
156
+ */
157
+ VALUE mC_Status = rb_define_module_under(mC, "Status");
158
+
159
+ /**
160
+ * module encapsulating the SQLite3 C extension constants for Sync
161
+ */
162
+ VALUE mC_Sync = rb_define_module_under(mC, "Sync");
163
+
164
+ /**
165
+ * module encapsulating the SQLite3 C extension constants for TextEncoding
166
+ */
167
+ VALUE mC_TextEncoding = rb_define_module_under(mC, "TextEncoding");
168
+
169
+ /**
170
+ * module encapsulating the SQLite3 C extension constants for Trace
171
+ */
172
+ VALUE mC_Trace = rb_define_module_under(mC, "Trace");
173
+
174
+ /**
175
+ * module encapsulating the SQLite3 C extension constants for Transaction
176
+ */
177
+ VALUE mC_Transaction = rb_define_module_under(mC, "Transaction");
178
+
179
+ /**
180
+ * module encapsulating the SQLite3 C extension constants for Win32
181
+ */
182
+ VALUE mC_Win32 = rb_define_module_under(mC, "Win32");
183
+
184
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
185
+ rb_define_const(mC_Access, "EXISTS", INT2FIX(SQLITE_ACCESS_EXISTS));
186
+
187
+ /* 2 -- Unused */
188
+ rb_define_const(mC_Access, "READ", INT2FIX(SQLITE_ACCESS_READ));
189
+
190
+ /* 1 -- Used by PRAGMA temp_store_directory */
191
+ rb_define_const(mC_Access, "READWRITE", INT2FIX(SQLITE_ACCESS_READWRITE));
192
+
193
+ /* 26 -- Database Name Table Name */
194
+ rb_define_const(mC_Authorizer, "ALTER_TABLE", INT2FIX(SQLITE_ALTER_TABLE));
195
+
196
+ /* 28 -- Table Name NULL */
197
+ rb_define_const(mC_Authorizer, "ANALYZE", INT2FIX(SQLITE_ANALYZE));
198
+
199
+ /* 24 -- Filename NULL */
200
+ rb_define_const(mC_Authorizer, "ATTACH", INT2FIX(SQLITE_ATTACH));
201
+
202
+ /* 0 -- No longer used */
203
+ rb_define_const(mC_Authorizer, "COPY", INT2FIX(SQLITE_COPY));
204
+
205
+ /* 1 -- Index Name Table Name */
206
+ rb_define_const(mC_Authorizer, "CREATE_INDEX", INT2FIX(SQLITE_CREATE_INDEX));
207
+
208
+ /* 2 -- Table Name NULL */
209
+ rb_define_const(mC_Authorizer, "CREATE_TABLE", INT2FIX(SQLITE_CREATE_TABLE));
210
+
211
+ /* 3 -- Index Name Table Name */
212
+ rb_define_const(mC_Authorizer, "CREATE_TEMP_INDEX", INT2FIX(SQLITE_CREATE_TEMP_INDEX));
213
+
214
+ /* 4 -- Table Name NULL */
215
+ rb_define_const(mC_Authorizer, "CREATE_TEMP_TABLE", INT2FIX(SQLITE_CREATE_TEMP_TABLE));
216
+
217
+ /* 5 -- Trigger Name Table Name */
218
+ rb_define_const(mC_Authorizer, "CREATE_TEMP_TRIGGER", INT2FIX(SQLITE_CREATE_TEMP_TRIGGER));
219
+
220
+ /* 6 -- View Name NULL */
221
+ rb_define_const(mC_Authorizer, "CREATE_TEMP_VIEW", INT2FIX(SQLITE_CREATE_TEMP_VIEW));
222
+
223
+ /* 7 -- Trigger Name Table Name */
224
+ rb_define_const(mC_Authorizer, "CREATE_TRIGGER", INT2FIX(SQLITE_CREATE_TRIGGER));
225
+
226
+ /* 8 -- View Name NULL */
227
+ rb_define_const(mC_Authorizer, "CREATE_VIEW", INT2FIX(SQLITE_CREATE_VIEW));
228
+
229
+ /* 29 -- Table Name Module Name */
230
+ rb_define_const(mC_Authorizer, "CREATE_VTABLE", INT2FIX(SQLITE_CREATE_VTABLE));
231
+
232
+ /* 9 -- Table Name NULL */
233
+ rb_define_const(mC_Authorizer, "DELETE", INT2FIX(SQLITE_DELETE));
234
+
235
+ /* 1 -- Abort the SQL statement with an error */
236
+ rb_define_const(mC_Authorizer, "DENY", INT2FIX(SQLITE_DENY));
237
+
238
+ /* 25 -- Database Name NULL */
239
+ rb_define_const(mC_Authorizer, "DETACH", INT2FIX(SQLITE_DETACH));
240
+
241
+ /* 10 -- Index Name Table Name */
242
+ rb_define_const(mC_Authorizer, "DROP_INDEX", INT2FIX(SQLITE_DROP_INDEX));
243
+
244
+ /* 11 -- Table Name NULL */
245
+ rb_define_const(mC_Authorizer, "DROP_TABLE", INT2FIX(SQLITE_DROP_TABLE));
246
+
247
+ /* 12 -- Index Name Table Name */
248
+ rb_define_const(mC_Authorizer, "DROP_TEMP_INDEX", INT2FIX(SQLITE_DROP_TEMP_INDEX));
249
+
250
+ /* 13 -- Table Name NULL */
251
+ rb_define_const(mC_Authorizer, "DROP_TEMP_TABLE", INT2FIX(SQLITE_DROP_TEMP_TABLE));
252
+
253
+ /* 14 -- Trigger Name Table Name */
254
+ rb_define_const(mC_Authorizer, "DROP_TEMP_TRIGGER", INT2FIX(SQLITE_DROP_TEMP_TRIGGER));
255
+
256
+ /* 15 -- View Name NULL */
257
+ rb_define_const(mC_Authorizer, "DROP_TEMP_VIEW", INT2FIX(SQLITE_DROP_TEMP_VIEW));
258
+
259
+ /* 16 -- Trigger Name Table Name */
260
+ rb_define_const(mC_Authorizer, "DROP_TRIGGER", INT2FIX(SQLITE_DROP_TRIGGER));
261
+
262
+ /* 17 -- View Name NULL */
263
+ rb_define_const(mC_Authorizer, "DROP_VIEW", INT2FIX(SQLITE_DROP_VIEW));
264
+
265
+ /* 30 -- Table Name Module Name */
266
+ rb_define_const(mC_Authorizer, "DROP_VTABLE", INT2FIX(SQLITE_DROP_VTABLE));
267
+
268
+ /* 31 -- NULL Function Name */
269
+ rb_define_const(mC_Authorizer, "FUNCTION", INT2FIX(SQLITE_FUNCTION));
270
+
271
+ /* 2 -- Don't allow access, but don't generate an error */
272
+ rb_define_const(mC_Authorizer, "IGNORE", INT2FIX(SQLITE_IGNORE));
273
+
274
+ /* 18 -- Table Name NULL */
275
+ rb_define_const(mC_Authorizer, "INSERT", INT2FIX(SQLITE_INSERT));
276
+
277
+ /* 19 -- Pragma Name 1st arg or NULL */
278
+ rb_define_const(mC_Authorizer, "PRAGMA", INT2FIX(SQLITE_PRAGMA));
279
+
280
+ /* 20 -- Table Name Column Name */
281
+ rb_define_const(mC_Authorizer, "READ", INT2FIX(SQLITE_READ));
282
+
283
+ /* 33 -- NULL NULL */
284
+ rb_define_const(mC_Authorizer, "RECURSIVE", INT2FIX(SQLITE_RECURSIVE));
285
+
286
+ /* 27 -- Index Name NULL */
287
+ rb_define_const(mC_Authorizer, "REINDEX", INT2FIX(SQLITE_REINDEX));
288
+
289
+ /* 32 -- Operation Savepoint Name */
290
+ rb_define_const(mC_Authorizer, "SAVEPOINT", INT2FIX(SQLITE_SAVEPOINT));
291
+
292
+ /* 21 -- NULL NULL */
293
+ rb_define_const(mC_Authorizer, "SELECT", INT2FIX(SQLITE_SELECT));
294
+
295
+ /* 22 -- Operation NULL */
296
+ rb_define_const(mC_Authorizer, "TRANSACTION", INT2FIX(SQLITE_TRANSACTION));
297
+
298
+ /* 23 -- Table Name Column Name */
299
+ rb_define_const(mC_Authorizer, "UPDATE", INT2FIX(SQLITE_UPDATE));
300
+
301
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
302
+ rb_define_const(mC_Changeset, "ABORT", INT2FIX(SQLITE_CHANGESET_ABORT));
303
+
304
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
305
+ rb_define_const(mC_Changeset, "CONFLICT", INT2FIX(SQLITE_CHANGESET_CONFLICT));
306
+
307
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
308
+ rb_define_const(mC_Changeset, "CONSTRAINT", INT2FIX(SQLITE_CHANGESET_CONSTRAINT));
309
+
310
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
311
+ rb_define_const(mC_Changeset, "DATA", INT2FIX(SQLITE_CHANGESET_DATA));
312
+
313
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
314
+ rb_define_const(mC_Changeset, "FOREIGN_KEY", INT2FIX(SQLITE_CHANGESET_FOREIGN_KEY));
315
+
316
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
317
+ rb_define_const(mC_Changeset, "NOTFOUND", INT2FIX(SQLITE_CHANGESET_NOTFOUND));
318
+
319
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
320
+ rb_define_const(mC_Changeset, "OMIT", INT2FIX(SQLITE_CHANGESET_OMIT));
321
+
322
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
323
+ rb_define_const(mC_Changeset, "REPLACE", INT2FIX(SQLITE_CHANGESET_REPLACE));
324
+
325
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
326
+ rb_define_const(mC_ChangesetApply, "INVERT", INT2FIX(SQLITE_CHANGESETAPPLY_INVERT));
327
+
328
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
329
+ rb_define_const(mC_ChangesetApply, "NOSAVEPOINT", INT2FIX(SQLITE_CHANGESETAPPLY_NOSAVEPOINT));
330
+
331
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
332
+ rb_define_const(mC_ChangesetStart, "INVERT", INT2FIX(SQLITE_CHANGESETSTART_INVERT));
333
+
334
+ /* 1 -- Wait for writers, then checkpoint */
335
+ rb_define_const(mC_Checkpoint, "FULL", INT2FIX(SQLITE_CHECKPOINT_FULL));
336
+
337
+ /* 0 -- Do as much as possible w/o blocking */
338
+ rb_define_const(mC_Checkpoint, "PASSIVE", INT2FIX(SQLITE_CHECKPOINT_PASSIVE));
339
+
340
+ /* 2 -- Like FULL but wait for for readers */
341
+ rb_define_const(mC_Checkpoint, "RESTART", INT2FIX(SQLITE_CHECKPOINT_RESTART));
342
+
343
+ /* 3 -- Like RESTART but also truncate WAL */
344
+ rb_define_const(mC_Checkpoint, "TRUNCATE", INT2FIX(SQLITE_CHECKPOINT_TRUNCATE));
345
+
346
+ /* 20 -- int */
347
+ rb_define_const(mC_Config, "COVERING_INDEX_SCAN", INT2FIX(SQLITE_CONFIG_COVERING_INDEX_SCAN));
348
+
349
+ /* 5 -- sqlite3_mem_methods* */
350
+ rb_define_const(mC_Config, "GETMALLOC", INT2FIX(SQLITE_CONFIG_GETMALLOC));
351
+
352
+ /* 11 -- sqlite3_mutex_methods* */
353
+ rb_define_const(mC_Config, "GETMUTEX", INT2FIX(SQLITE_CONFIG_GETMUTEX));
354
+
355
+ /* 15 -- no-op */
356
+ rb_define_const(mC_Config, "GETPCACHE", INT2FIX(SQLITE_CONFIG_GETPCACHE));
357
+
358
+ /* 19 -- sqlite3_pcache_methods2* */
359
+ rb_define_const(mC_Config, "GETPCACHE2", INT2FIX(SQLITE_CONFIG_GETPCACHE2));
360
+
361
+ /* 8 -- void*, int nByte, int min */
362
+ rb_define_const(mC_Config, "HEAP", INT2FIX(SQLITE_CONFIG_HEAP));
363
+
364
+ /* 16 -- xFunc, void* */
365
+ rb_define_const(mC_Config, "LOG", INT2FIX(SQLITE_CONFIG_LOG));
366
+
367
+ /* 13 -- int int */
368
+ rb_define_const(mC_Config, "LOOKASIDE", INT2FIX(SQLITE_CONFIG_LOOKASIDE));
369
+
370
+ /* 4 -- sqlite3_mem_methods* */
371
+ rb_define_const(mC_Config, "MALLOC", INT2FIX(SQLITE_CONFIG_MALLOC));
372
+
373
+ /* 29 -- sqlite3_int64 */
374
+ rb_define_const(mC_Config, "MEMDB_MAXSIZE", INT2FIX(SQLITE_CONFIG_MEMDB_MAXSIZE));
375
+
376
+ /* 9 -- boolean */
377
+ rb_define_const(mC_Config, "MEMSTATUS", INT2FIX(SQLITE_CONFIG_MEMSTATUS));
378
+
379
+ /* 22 -- sqlite3_int64, sqlite3_int64 */
380
+ rb_define_const(mC_Config, "MMAP_SIZE", INT2FIX(SQLITE_CONFIG_MMAP_SIZE));
381
+
382
+ /* 2 -- nil */
383
+ rb_define_const(mC_Config, "MULTITHREAD", INT2FIX(SQLITE_CONFIG_MULTITHREAD));
384
+
385
+ /* 10 -- sqlite3_mutex_methods* */
386
+ rb_define_const(mC_Config, "MUTEX", INT2FIX(SQLITE_CONFIG_MUTEX));
387
+
388
+ /* 7 -- void*, int sz, int N */
389
+ rb_define_const(mC_Config, "PAGECACHE", INT2FIX(SQLITE_CONFIG_PAGECACHE));
390
+
391
+ /* 14 -- no-op */
392
+ rb_define_const(mC_Config, "PCACHE", INT2FIX(SQLITE_CONFIG_PCACHE));
393
+
394
+ /* 18 -- sqlite3_pcache_methods2* */
395
+ rb_define_const(mC_Config, "PCACHE2", INT2FIX(SQLITE_CONFIG_PCACHE2));
396
+
397
+ /* 24 -- int *psz */
398
+ rb_define_const(mC_Config, "PCACHE_HDRSZ", INT2FIX(SQLITE_CONFIG_PCACHE_HDRSZ));
399
+
400
+ /* 25 -- unsigned int szPma */
401
+ rb_define_const(mC_Config, "PMASZ", INT2FIX(SQLITE_CONFIG_PMASZ));
402
+
403
+ /* 6 -- No longer used */
404
+ rb_define_const(mC_Config, "SCRATCH", INT2FIX(SQLITE_CONFIG_SCRATCH));
405
+
406
+ /* 3 -- nil */
407
+ rb_define_const(mC_Config, "SERIALIZED", INT2FIX(SQLITE_CONFIG_SERIALIZED));
408
+
409
+ /* 1 -- nil */
410
+ rb_define_const(mC_Config, "SINGLETHREAD", INT2FIX(SQLITE_CONFIG_SINGLETHREAD));
411
+
412
+ /* 27 -- boolean */
413
+ rb_define_const(mC_Config, "SMALL_MALLOC", INT2FIX(SQLITE_CONFIG_SMALL_MALLOC));
414
+
415
+ /* 28 -- int nByte */
416
+ rb_define_const(mC_Config, "SORTERREF_SIZE", INT2FIX(SQLITE_CONFIG_SORTERREF_SIZE));
417
+
418
+ /* 21 -- xSqllog, void* */
419
+ rb_define_const(mC_Config, "SQLLOG", INT2FIX(SQLITE_CONFIG_SQLLOG));
420
+
421
+ /* 26 -- int nByte */
422
+ rb_define_const(mC_Config, "STMTJRNL_SPILL", INT2FIX(SQLITE_CONFIG_STMTJRNL_SPILL));
423
+
424
+ /* 17 -- int */
425
+ rb_define_const(mC_Config, "URI", INT2FIX(SQLITE_CONFIG_URI));
426
+
427
+ /* 23 -- int nByte */
428
+ rb_define_const(mC_Config, "WIN32_HEAPSIZE", INT2FIX(SQLITE_CONFIG_WIN32_HEAPSIZE));
429
+
430
+ /* 1010 -- int int* */
431
+ rb_define_const(mC_DBConfig, "DEFENSIVE", INT2FIX(SQLITE_DBCONFIG_DEFENSIVE));
432
+
433
+ /* 1014 -- int int* */
434
+ rb_define_const(mC_DBConfig, "DQS_DDL", INT2FIX(SQLITE_DBCONFIG_DQS_DDL));
435
+
436
+ /* 1013 -- int int* */
437
+ rb_define_const(mC_DBConfig, "DQS_DML", INT2FIX(SQLITE_DBCONFIG_DQS_DML));
438
+
439
+ /* 1002 -- int int* */
440
+ rb_define_const(mC_DBConfig, "ENABLE_FKEY", INT2FIX(SQLITE_DBCONFIG_ENABLE_FKEY));
441
+
442
+ /* 1004 -- int int* */
443
+ rb_define_const(mC_DBConfig, "ENABLE_FTS3_TOKENIZER", INT2FIX(SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER));
444
+
445
+ /* 1005 -- int int* */
446
+ rb_define_const(mC_DBConfig, "ENABLE_LOAD_EXTENSION", INT2FIX(SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION));
447
+
448
+ /* 1007 -- int int* */
449
+ rb_define_const(mC_DBConfig, "ENABLE_QPSG", INT2FIX(SQLITE_DBCONFIG_ENABLE_QPSG));
450
+
451
+ /* 1003 -- int int* */
452
+ rb_define_const(mC_DBConfig, "ENABLE_TRIGGER", INT2FIX(SQLITE_DBCONFIG_ENABLE_TRIGGER));
453
+
454
+ /* 1015 -- int int* */
455
+ rb_define_const(mC_DBConfig, "ENABLE_VIEW", INT2FIX(SQLITE_DBCONFIG_ENABLE_VIEW));
456
+
457
+ /* 1012 -- int int* */
458
+ rb_define_const(mC_DBConfig, "LEGACY_ALTER_TABLE", INT2FIX(SQLITE_DBCONFIG_LEGACY_ALTER_TABLE));
459
+
460
+ /* 1016 -- int int* */
461
+ rb_define_const(mC_DBConfig, "LEGACY_FILE_FORMAT", INT2FIX(SQLITE_DBCONFIG_LEGACY_FILE_FORMAT));
462
+
463
+ /* 1001 -- void* int int */
464
+ rb_define_const(mC_DBConfig, "LOOKASIDE", INT2FIX(SQLITE_DBCONFIG_LOOKASIDE));
465
+
466
+ /* 1000 -- const char* */
467
+ rb_define_const(mC_DBConfig, "MAINDBNAME", INT2FIX(SQLITE_DBCONFIG_MAINDBNAME));
468
+
469
+ /* 1017 -- Largest DBCONFIG */
470
+ rb_define_const(mC_DBConfig, "MAX", INT2FIX(SQLITE_DBCONFIG_MAX));
471
+
472
+ /* 1006 -- int int* */
473
+ rb_define_const(mC_DBConfig, "NO_CKPT_ON_CLOSE", INT2FIX(SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE));
474
+
475
+ /* 1009 -- int int* */
476
+ rb_define_const(mC_DBConfig, "RESET_DATABASE", INT2FIX(SQLITE_DBCONFIG_RESET_DATABASE));
477
+
478
+ /* 1008 -- int int* */
479
+ rb_define_const(mC_DBConfig, "TRIGGER_EQP", INT2FIX(SQLITE_DBCONFIG_TRIGGER_EQP));
480
+
481
+ /* 1017 -- int int* */
482
+ rb_define_const(mC_DBConfig, "TRUSTED_SCHEMA", INT2FIX(SQLITE_DBCONFIG_TRUSTED_SCHEMA));
483
+
484
+ /* 1011 -- int int* */
485
+ rb_define_const(mC_DBConfig, "WRITABLE_SCHEMA", INT2FIX(SQLITE_DBCONFIG_WRITABLE_SCHEMA));
486
+
487
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
488
+ rb_define_const(mC_DBStatus, "CACHE_HIT", INT2FIX(SQLITE_DBSTATUS_CACHE_HIT));
489
+
490
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
491
+ rb_define_const(mC_DBStatus, "CACHE_MISS", INT2FIX(SQLITE_DBSTATUS_CACHE_MISS));
492
+
493
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
494
+ rb_define_const(mC_DBStatus, "CACHE_SPILL", INT2FIX(SQLITE_DBSTATUS_CACHE_SPILL));
495
+
496
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
497
+ rb_define_const(mC_DBStatus, "CACHE_USED", INT2FIX(SQLITE_DBSTATUS_CACHE_USED));
498
+
499
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
500
+ rb_define_const(mC_DBStatus, "CACHE_USED_SHARED", INT2FIX(SQLITE_DBSTATUS_CACHE_USED_SHARED));
501
+
502
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
503
+ rb_define_const(mC_DBStatus, "CACHE_WRITE", INT2FIX(SQLITE_DBSTATUS_CACHE_WRITE));
504
+
505
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
506
+ rb_define_const(mC_DBStatus, "DEFERRED_FKS", INT2FIX(SQLITE_DBSTATUS_DEFERRED_FKS));
507
+
508
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
509
+ rb_define_const(mC_DBStatus, "LOOKASIDE_HIT", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_HIT));
510
+
511
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
512
+ rb_define_const(mC_DBStatus, "LOOKASIDE_MISS_FULL", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL));
513
+
514
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
515
+ rb_define_const(mC_DBStatus, "LOOKASIDE_MISS_SIZE", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE));
516
+
517
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
518
+ rb_define_const(mC_DBStatus, "LOOKASIDE_USED", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_USED));
519
+
520
+ /* 12 -- Largest defined DBSTATUS */
521
+ rb_define_const(mC_DBStatus, "MAX", INT2FIX(SQLITE_DBSTATUS_MAX));
522
+
523
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
524
+ rb_define_const(mC_DBStatus, "SCHEMA_USED", INT2FIX(SQLITE_DBSTATUS_SCHEMA_USED));
525
+
526
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
527
+ rb_define_const(mC_DBStatus, "STMT_USED", INT2FIX(SQLITE_DBSTATUS_STMT_USED));
528
+
529
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
530
+ rb_define_const(mC_DataType, "TEXT", INT2FIX(SQLITE3_TEXT));
531
+
532
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
533
+ rb_define_const(mC_DataType, "BLOB", INT2FIX(SQLITE_BLOB));
534
+
535
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
536
+ rb_define_const(mC_DataType, "FLOAT", INT2FIX(SQLITE_FLOAT));
537
+
538
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
539
+ rb_define_const(mC_DataType, "INTEGER", INT2FIX(SQLITE_INTEGER));
540
+
541
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
542
+ rb_define_const(mC_DataType, "NULL", INT2FIX(SQLITE_NULL));
543
+
544
+ /* 1 -- Call sqlite3_free() on close */
545
+ rb_define_const(mC_Deserialize, "FREEONCLOSE", INT2FIX(SQLITE_DESERIALIZE_FREEONCLOSE));
546
+
547
+ /* 4 -- Database is read-only */
548
+ rb_define_const(mC_Deserialize, "READONLY", INT2FIX(SQLITE_DESERIALIZE_READONLY));
549
+
550
+ /* 2 -- Resize using sqlite3_realloc64() */
551
+ rb_define_const(mC_Deserialize, "RESIZEABLE", INT2FIX(SQLITE_DESERIALIZE_RESIZEABLE));
552
+
553
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
554
+ rb_define_const(mC_FTS5, "TOKENIZE_AUX", INT2FIX(FTS5_TOKENIZE_AUX));
555
+
556
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
557
+ rb_define_const(mC_FTS5, "TOKENIZE_DOCUMENT", INT2FIX(FTS5_TOKENIZE_DOCUMENT));
558
+
559
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
560
+ rb_define_const(mC_FTS5, "TOKENIZE_PREFIX", INT2FIX(FTS5_TOKENIZE_PREFIX));
561
+
562
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
563
+ rb_define_const(mC_FTS5, "TOKENIZE_QUERY", INT2FIX(FTS5_TOKENIZE_QUERY));
564
+
565
+ /* 0x0001 -- Same position as prev. token */
566
+ rb_define_const(mC_FTS5, "TOKEN_COLOCATED", INT2FIX(FTS5_TOKEN_COLOCATED));
567
+
568
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
569
+ rb_define_const(mC_Fcntl, "BEGIN_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_BEGIN_ATOMIC_WRITE));
570
+
571
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
572
+ rb_define_const(mC_Fcntl, "BUSYHANDLER", INT2FIX(SQLITE_FCNTL_BUSYHANDLER));
573
+
574
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
575
+ rb_define_const(mC_Fcntl, "CHUNK_SIZE", INT2FIX(SQLITE_FCNTL_CHUNK_SIZE));
576
+
577
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
578
+ rb_define_const(mC_Fcntl, "CKPT_DONE", INT2FIX(SQLITE_FCNTL_CKPT_DONE));
579
+
580
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
581
+ rb_define_const(mC_Fcntl, "CKPT_START", INT2FIX(SQLITE_FCNTL_CKPT_START));
582
+
583
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
584
+ rb_define_const(mC_Fcntl, "COMMIT_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_COMMIT_ATOMIC_WRITE));
585
+
586
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
587
+ rb_define_const(mC_Fcntl, "COMMIT_PHASETWO", INT2FIX(SQLITE_FCNTL_COMMIT_PHASETWO));
588
+
589
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
590
+ rb_define_const(mC_Fcntl, "DATA_VERSION", INT2FIX(SQLITE_FCNTL_DATA_VERSION));
591
+
592
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
593
+ rb_define_const(mC_Fcntl, "FILE_POINTER", INT2FIX(SQLITE_FCNTL_FILE_POINTER));
594
+
595
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
596
+ rb_define_const(mC_Fcntl, "GET_LOCKPROXYFILE", INT2FIX(SQLITE_FCNTL_GET_LOCKPROXYFILE));
597
+
598
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
599
+ rb_define_const(mC_Fcntl, "HAS_MOVED", INT2FIX(SQLITE_FCNTL_HAS_MOVED));
600
+
601
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
602
+ rb_define_const(mC_Fcntl, "JOURNAL_POINTER", INT2FIX(SQLITE_FCNTL_JOURNAL_POINTER));
603
+
604
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
605
+ rb_define_const(mC_Fcntl, "LAST_ERRNO", INT2FIX(SQLITE_FCNTL_LAST_ERRNO));
606
+
607
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
608
+ rb_define_const(mC_Fcntl, "LOCKSTATE", INT2FIX(SQLITE_FCNTL_LOCKSTATE));
609
+
610
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
611
+ rb_define_const(mC_Fcntl, "LOCK_TIMEOUT", INT2FIX(SQLITE_FCNTL_LOCK_TIMEOUT));
612
+
613
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
614
+ rb_define_const(mC_Fcntl, "MMAP_SIZE", INT2FIX(SQLITE_FCNTL_MMAP_SIZE));
615
+
616
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
617
+ rb_define_const(mC_Fcntl, "OVERWRITE", INT2FIX(SQLITE_FCNTL_OVERWRITE));
618
+
619
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
620
+ rb_define_const(mC_Fcntl, "PDB", INT2FIX(SQLITE_FCNTL_PDB));
621
+
622
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
623
+ rb_define_const(mC_Fcntl, "PERSIST_WAL", INT2FIX(SQLITE_FCNTL_PERSIST_WAL));
624
+
625
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
626
+ rb_define_const(mC_Fcntl, "POWERSAFE_OVERWRITE", INT2FIX(SQLITE_FCNTL_POWERSAFE_OVERWRITE));
627
+
628
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
629
+ rb_define_const(mC_Fcntl, "PRAGMA", INT2FIX(SQLITE_FCNTL_PRAGMA));
630
+
631
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
632
+ rb_define_const(mC_Fcntl, "RBU", INT2FIX(SQLITE_FCNTL_RBU));
633
+
634
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
635
+ rb_define_const(mC_Fcntl, "RESERVE_BYTES", INT2FIX(SQLITE_FCNTL_RESERVE_BYTES));
636
+
637
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
638
+ rb_define_const(mC_Fcntl, "ROLLBACK_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE));
639
+
640
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
641
+ rb_define_const(mC_Fcntl, "SET_LOCKPROXYFILE", INT2FIX(SQLITE_FCNTL_SET_LOCKPROXYFILE));
642
+
643
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
644
+ rb_define_const(mC_Fcntl, "SIZE_HINT", INT2FIX(SQLITE_FCNTL_SIZE_HINT));
645
+
646
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
647
+ rb_define_const(mC_Fcntl, "SIZE_LIMIT", INT2FIX(SQLITE_FCNTL_SIZE_LIMIT));
648
+
649
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
650
+ rb_define_const(mC_Fcntl, "SYNC", INT2FIX(SQLITE_FCNTL_SYNC));
651
+
652
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
653
+ rb_define_const(mC_Fcntl, "SYNC_OMITTED", INT2FIX(SQLITE_FCNTL_SYNC_OMITTED));
654
+
655
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
656
+ rb_define_const(mC_Fcntl, "TEMPFILENAME", INT2FIX(SQLITE_FCNTL_TEMPFILENAME));
657
+
658
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
659
+ rb_define_const(mC_Fcntl, "TRACE", INT2FIX(SQLITE_FCNTL_TRACE));
660
+
661
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
662
+ rb_define_const(mC_Fcntl, "VFSNAME", INT2FIX(SQLITE_FCNTL_VFSNAME));
663
+
664
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
665
+ rb_define_const(mC_Fcntl, "VFS_POINTER", INT2FIX(SQLITE_FCNTL_VFS_POINTER));
666
+
667
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
668
+ rb_define_const(mC_Fcntl, "WAL_BLOCK", INT2FIX(SQLITE_FCNTL_WAL_BLOCK));
669
+
670
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
671
+ rb_define_const(mC_Fcntl, "WIN32_AV_RETRY", INT2FIX(SQLITE_FCNTL_WIN32_AV_RETRY));
672
+
673
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
674
+ rb_define_const(mC_Fcntl, "WIN32_GET_HANDLE", INT2FIX(SQLITE_FCNTL_WIN32_GET_HANDLE));
675
+
676
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
677
+ rb_define_const(mC_Fcntl, "WIN32_SET_HANDLE", INT2FIX(SQLITE_FCNTL_WIN32_SET_HANDLE));
678
+
679
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
680
+ rb_define_const(mC_Fcntl, "ZIPVFS", INT2FIX(SQLITE_FCNTL_ZIPVFS));
681
+
682
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
683
+ rb_define_const(mC_IOCap, "ATOMIC", INT2FIX(SQLITE_IOCAP_ATOMIC));
684
+
685
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
686
+ rb_define_const(mC_IOCap, "ATOMIC16K", INT2FIX(SQLITE_IOCAP_ATOMIC16K));
687
+
688
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
689
+ rb_define_const(mC_IOCap, "ATOMIC1K", INT2FIX(SQLITE_IOCAP_ATOMIC1K));
690
+
691
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
692
+ rb_define_const(mC_IOCap, "ATOMIC2K", INT2FIX(SQLITE_IOCAP_ATOMIC2K));
693
+
694
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
695
+ rb_define_const(mC_IOCap, "ATOMIC32K", INT2FIX(SQLITE_IOCAP_ATOMIC32K));
696
+
697
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
698
+ rb_define_const(mC_IOCap, "ATOMIC4K", INT2FIX(SQLITE_IOCAP_ATOMIC4K));
699
+
700
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
701
+ rb_define_const(mC_IOCap, "ATOMIC512", INT2FIX(SQLITE_IOCAP_ATOMIC512));
702
+
703
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
704
+ rb_define_const(mC_IOCap, "ATOMIC64K", INT2FIX(SQLITE_IOCAP_ATOMIC64K));
705
+
706
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
707
+ rb_define_const(mC_IOCap, "ATOMIC8K", INT2FIX(SQLITE_IOCAP_ATOMIC8K));
708
+
709
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
710
+ rb_define_const(mC_IOCap, "BATCH_ATOMIC", INT2FIX(SQLITE_IOCAP_BATCH_ATOMIC));
711
+
712
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
713
+ rb_define_const(mC_IOCap, "IMMUTABLE", INT2FIX(SQLITE_IOCAP_IMMUTABLE));
714
+
715
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
716
+ rb_define_const(mC_IOCap, "POWERSAFE_OVERWRITE", INT2FIX(SQLITE_IOCAP_POWERSAFE_OVERWRITE));
717
+
718
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
719
+ rb_define_const(mC_IOCap, "SAFE_APPEND", INT2FIX(SQLITE_IOCAP_SAFE_APPEND));
720
+
721
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
722
+ rb_define_const(mC_IOCap, "SEQUENTIAL", INT2FIX(SQLITE_IOCAP_SEQUENTIAL));
723
+
724
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
725
+ rb_define_const(mC_IOCap, "UNDELETABLE_WHEN_OPEN", INT2FIX(SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN));
726
+
727
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
728
+ rb_define_const(mC_Index, "CONSTRAINT_EQ", INT2FIX(SQLITE_INDEX_CONSTRAINT_EQ));
729
+
730
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
731
+ rb_define_const(mC_Index, "CONSTRAINT_FUNCTION", INT2FIX(SQLITE_INDEX_CONSTRAINT_FUNCTION));
732
+
733
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
734
+ rb_define_const(mC_Index, "CONSTRAINT_GE", INT2FIX(SQLITE_INDEX_CONSTRAINT_GE));
735
+
736
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
737
+ rb_define_const(mC_Index, "CONSTRAINT_GLOB", INT2FIX(SQLITE_INDEX_CONSTRAINT_GLOB));
738
+
739
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
740
+ rb_define_const(mC_Index, "CONSTRAINT_GT", INT2FIX(SQLITE_INDEX_CONSTRAINT_GT));
741
+
742
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
743
+ rb_define_const(mC_Index, "CONSTRAINT_IS", INT2FIX(SQLITE_INDEX_CONSTRAINT_IS));
744
+
745
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
746
+ rb_define_const(mC_Index, "CONSTRAINT_ISNOT", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNOT));
747
+
748
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
749
+ rb_define_const(mC_Index, "CONSTRAINT_ISNOTNULL", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNOTNULL));
750
+
751
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
752
+ rb_define_const(mC_Index, "CONSTRAINT_ISNULL", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNULL));
753
+
754
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
755
+ rb_define_const(mC_Index, "CONSTRAINT_LE", INT2FIX(SQLITE_INDEX_CONSTRAINT_LE));
756
+
757
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
758
+ rb_define_const(mC_Index, "CONSTRAINT_LIKE", INT2FIX(SQLITE_INDEX_CONSTRAINT_LIKE));
759
+
760
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
761
+ rb_define_const(mC_Index, "CONSTRAINT_LT", INT2FIX(SQLITE_INDEX_CONSTRAINT_LT));
762
+
763
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
764
+ rb_define_const(mC_Index, "CONSTRAINT_MATCH", INT2FIX(SQLITE_INDEX_CONSTRAINT_MATCH));
765
+
766
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
767
+ rb_define_const(mC_Index, "CONSTRAINT_NE", INT2FIX(SQLITE_INDEX_CONSTRAINT_NE));
768
+
769
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
770
+ rb_define_const(mC_Index, "CONSTRAINT_REGEXP", INT2FIX(SQLITE_INDEX_CONSTRAINT_REGEXP));
771
+
772
+ /* 1 -- Scan visits at most 1 row */
773
+ rb_define_const(mC_Index, "SCAN_UNIQUE", INT2FIX(SQLITE_INDEX_SCAN_UNIQUE));
774
+
775
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
776
+ rb_define_const(mC_Limit, "ATTACHED", INT2FIX(SQLITE_LIMIT_ATTACHED));
777
+
778
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
779
+ rb_define_const(mC_Limit, "COLUMN", INT2FIX(SQLITE_LIMIT_COLUMN));
780
+
781
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
782
+ rb_define_const(mC_Limit, "COMPOUND_SELECT", INT2FIX(SQLITE_LIMIT_COMPOUND_SELECT));
783
+
784
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
785
+ rb_define_const(mC_Limit, "EXPR_DEPTH", INT2FIX(SQLITE_LIMIT_EXPR_DEPTH));
786
+
787
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
788
+ rb_define_const(mC_Limit, "FUNCTION_ARG", INT2FIX(SQLITE_LIMIT_FUNCTION_ARG));
789
+
790
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
791
+ rb_define_const(mC_Limit, "LENGTH", INT2FIX(SQLITE_LIMIT_LENGTH));
792
+
793
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
794
+ rb_define_const(mC_Limit, "LIKE_PATTERN_LENGTH", INT2FIX(SQLITE_LIMIT_LIKE_PATTERN_LENGTH));
795
+
796
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
797
+ rb_define_const(mC_Limit, "SQL_LENGTH", INT2FIX(SQLITE_LIMIT_SQL_LENGTH));
798
+
799
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
800
+ rb_define_const(mC_Limit, "TRIGGER_DEPTH", INT2FIX(SQLITE_LIMIT_TRIGGER_DEPTH));
801
+
802
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
803
+ rb_define_const(mC_Limit, "VARIABLE_NUMBER", INT2FIX(SQLITE_LIMIT_VARIABLE_NUMBER));
804
+
805
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
806
+ rb_define_const(mC_Limit, "VDBE_OP", INT2FIX(SQLITE_LIMIT_VDBE_OP));
807
+
808
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
809
+ rb_define_const(mC_Limit, "WORKER_THREADS", INT2FIX(SQLITE_LIMIT_WORKER_THREADS));
810
+
811
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
812
+ rb_define_const(mC_Lock, "EXCLUSIVE", INT2FIX(SQLITE_LOCK_EXCLUSIVE));
813
+
814
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
815
+ rb_define_const(mC_Lock, "NONE", INT2FIX(SQLITE_LOCK_NONE));
816
+
817
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
818
+ rb_define_const(mC_Lock, "PENDING", INT2FIX(SQLITE_LOCK_PENDING));
819
+
820
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
821
+ rb_define_const(mC_Lock, "RESERVED", INT2FIX(SQLITE_LOCK_RESERVED));
822
+
823
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
824
+ rb_define_const(mC_Lock, "SHARED", INT2FIX(SQLITE_LOCK_SHARED));
825
+
826
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
827
+ rb_define_const(mC_Mutex, "FAST", INT2FIX(SQLITE_MUTEX_FAST));
828
+
829
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
830
+ rb_define_const(mC_Mutex, "RECURSIVE", INT2FIX(SQLITE_MUTEX_RECURSIVE));
831
+
832
+ /* 8 -- For use by application */
833
+ rb_define_const(mC_Mutex, "STATIC_APP1", INT2FIX(SQLITE_MUTEX_STATIC_APP1));
834
+
835
+ /* 9 -- For use by application */
836
+ rb_define_const(mC_Mutex, "STATIC_APP2", INT2FIX(SQLITE_MUTEX_STATIC_APP2));
837
+
838
+ /* 10 -- For use by application */
839
+ rb_define_const(mC_Mutex, "STATIC_APP3", INT2FIX(SQLITE_MUTEX_STATIC_APP3));
840
+
841
+ /* 6 -- lru page list */
842
+ rb_define_const(mC_Mutex, "STATIC_LRU", INT2FIX(SQLITE_MUTEX_STATIC_LRU));
843
+
844
+ /* 7 -- NOT USED */
845
+ rb_define_const(mC_Mutex, "STATIC_LRU2", INT2FIX(SQLITE_MUTEX_STATIC_LRU2));
846
+
847
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
848
+ rb_define_const(mC_Mutex, "STATIC_MAIN", INT2FIX(SQLITE_MUTEX_STATIC_MAIN));
849
+
850
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
851
+ rb_define_const(mC_Mutex, "STATIC_MASTER", INT2FIX(SQLITE_MUTEX_STATIC_MASTER));
852
+
853
+ /* 3 -- sqlite3_malloc() */
854
+ rb_define_const(mC_Mutex, "STATIC_MEM", INT2FIX(SQLITE_MUTEX_STATIC_MEM));
855
+
856
+ /* 4 -- NOT USED */
857
+ rb_define_const(mC_Mutex, "STATIC_MEM2", INT2FIX(SQLITE_MUTEX_STATIC_MEM2));
858
+
859
+ /* 4 -- sqlite3BtreeOpen() */
860
+ rb_define_const(mC_Mutex, "STATIC_OPEN", INT2FIX(SQLITE_MUTEX_STATIC_OPEN));
861
+
862
+ /* 7 -- sqlite3PageMalloc() */
863
+ rb_define_const(mC_Mutex, "STATIC_PMEM", INT2FIX(SQLITE_MUTEX_STATIC_PMEM));
864
+
865
+ /* 5 -- sqlite3_randomness() */
866
+ rb_define_const(mC_Mutex, "STATIC_PRNG", INT2FIX(SQLITE_MUTEX_STATIC_PRNG));
867
+
868
+ /* 11 -- For use by built-in VFS */
869
+ rb_define_const(mC_Mutex, "STATIC_VFS1", INT2FIX(SQLITE_MUTEX_STATIC_VFS1));
870
+
871
+ /* 12 -- For use by extension VFS */
872
+ rb_define_const(mC_Mutex, "STATIC_VFS2", INT2FIX(SQLITE_MUTEX_STATIC_VFS2));
873
+
874
+ /* 13 -- For use by application VFS */
875
+ rb_define_const(mC_Mutex, "STATIC_VFS3", INT2FIX(SQLITE_MUTEX_STATIC_VFS3));
876
+
877
+ /* 0x00000020 -- VFS only */
878
+ rb_define_const(mC_Open, "AUTOPROXY", INT2FIX(SQLITE_OPEN_AUTOPROXY));
879
+
880
+ /* 0x00000004 -- Ok for sqlite3_open_v2() */
881
+ rb_define_const(mC_Open, "CREATE", INT2FIX(SQLITE_OPEN_CREATE));
882
+
883
+ /* 0x00000008 -- VFS only */
884
+ rb_define_const(mC_Open, "DELETEONCLOSE", INT2FIX(SQLITE_OPEN_DELETEONCLOSE));
885
+
886
+ /* 0x00000010 -- VFS only */
887
+ rb_define_const(mC_Open, "EXCLUSIVE", INT2FIX(SQLITE_OPEN_EXCLUSIVE));
888
+
889
+ /* 0x00010000 -- Ok for sqlite3_open_v2() */
890
+ rb_define_const(mC_Open, "FULLMUTEX", INT2FIX(SQLITE_OPEN_FULLMUTEX));
891
+
892
+ /* 0x00000100 -- VFS only */
893
+ rb_define_const(mC_Open, "MAIN_DB", INT2FIX(SQLITE_OPEN_MAIN_DB));
894
+
895
+ /* 0x00000800 -- VFS only */
896
+ rb_define_const(mC_Open, "MAIN_JOURNAL", INT2FIX(SQLITE_OPEN_MAIN_JOURNAL));
897
+
898
+ /* 0x00004000 -- VFS only */
899
+ rb_define_const(mC_Open, "MASTER_JOURNAL", INT2FIX(SQLITE_OPEN_MASTER_JOURNAL));
900
+
901
+ /* 0x00000080 -- Ok for sqlite3_open_v2() */
902
+ rb_define_const(mC_Open, "MEMORY", INT2FIX(SQLITE_OPEN_MEMORY));
903
+
904
+ /* 0x01000000 -- Ok for sqlite3_open_v2() */
905
+ rb_define_const(mC_Open, "NOFOLLOW", INT2FIX(SQLITE_OPEN_NOFOLLOW));
906
+
907
+ /* 0x00008000 -- Ok for sqlite3_open_v2() */
908
+ rb_define_const(mC_Open, "NOMUTEX", INT2FIX(SQLITE_OPEN_NOMUTEX));
909
+
910
+ /* 0x00040000 -- Ok for sqlite3_open_v2() */
911
+ rb_define_const(mC_Open, "PRIVATECACHE", INT2FIX(SQLITE_OPEN_PRIVATECACHE));
912
+
913
+ /* 0x00000001 -- Ok for sqlite3_open_v2() */
914
+ rb_define_const(mC_Open, "READONLY", INT2FIX(SQLITE_OPEN_READONLY));
915
+
916
+ /* 0x00000002 -- Ok for sqlite3_open_v2() */
917
+ rb_define_const(mC_Open, "READWRITE", INT2FIX(SQLITE_OPEN_READWRITE));
918
+
919
+ /* 0x00020000 -- Ok for sqlite3_open_v2() */
920
+ rb_define_const(mC_Open, "SHAREDCACHE", INT2FIX(SQLITE_OPEN_SHAREDCACHE));
921
+
922
+ /* 0x00002000 -- VFS only */
923
+ rb_define_const(mC_Open, "SUBJOURNAL", INT2FIX(SQLITE_OPEN_SUBJOURNAL));
924
+
925
+ /* 0x00004000 -- VFS only */
926
+ rb_define_const(mC_Open, "SUPER_JOURNAL", INT2FIX(SQLITE_OPEN_SUPER_JOURNAL));
927
+
928
+ /* 0x00000200 -- VFS only */
929
+ rb_define_const(mC_Open, "TEMP_DB", INT2FIX(SQLITE_OPEN_TEMP_DB));
930
+
931
+ /* 0x00001000 -- VFS only */
932
+ rb_define_const(mC_Open, "TEMP_JOURNAL", INT2FIX(SQLITE_OPEN_TEMP_JOURNAL));
933
+
934
+ /* 0x00000400 -- VFS only */
935
+ rb_define_const(mC_Open, "TRANSIENT_DB", INT2FIX(SQLITE_OPEN_TRANSIENT_DB));
936
+
937
+ /* 0x00000040 -- Ok for sqlite3_open_v2() */
938
+ rb_define_const(mC_Open, "URI", INT2FIX(SQLITE_OPEN_URI));
939
+
940
+ /* 0x00080000 -- VFS only */
941
+ rb_define_const(mC_Open, "WAL", INT2FIX(SQLITE_OPEN_WAL));
942
+
943
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
944
+ rb_define_const(mC_Prepare, "NORMALIZE", INT2FIX(SQLITE_PREPARE_NORMALIZE));
945
+
946
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
947
+ rb_define_const(mC_Prepare, "NO_VTAB", INT2FIX(SQLITE_PREPARE_NO_VTAB));
948
+
949
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
950
+ rb_define_const(mC_Prepare, "PERSISTENT", INT2FIX(SQLITE_PREPARE_PERSISTENT));
951
+
952
+ /* 2 -- Object fully contained within query region */
953
+ rb_define_const(mC_RTree, "FULLY_WITHIN", INT2FIX(FULLY_WITHIN));
954
+
955
+ /* 0 -- Object completely outside of query region */
956
+ rb_define_const(mC_RTree, "NOT_WITHIN", INT2FIX(NOT_WITHIN));
957
+
958
+ /* 1 -- Object partially overlaps query region */
959
+ rb_define_const(mC_RTree, "PARTLY_WITHIN", INT2FIX(PARTLY_WITHIN));
960
+
961
+ /* 4 -- Callback routine requested an abort */
962
+ rb_define_const(mC_ResultCode, "ABORT", INT2FIX(SQLITE_ABORT));
963
+
964
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
965
+ rb_define_const(mC_ResultCode, "ABORT_ROLLBACK", INT2FIX(SQLITE_ABORT_ROLLBACK));
966
+
967
+ /* 23 -- Authorization denied */
968
+ rb_define_const(mC_ResultCode, "AUTH", INT2FIX(SQLITE_AUTH));
969
+
970
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
971
+ rb_define_const(mC_ResultCode, "AUTH_USER", INT2FIX(SQLITE_AUTH_USER));
972
+
973
+ /* 5 -- The database file is locked */
974
+ rb_define_const(mC_ResultCode, "BUSY", INT2FIX(SQLITE_BUSY));
975
+
976
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
977
+ rb_define_const(mC_ResultCode, "BUSY_RECOVERY", INT2FIX(SQLITE_BUSY_RECOVERY));
978
+
979
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
980
+ rb_define_const(mC_ResultCode, "BUSY_SNAPSHOT", INT2FIX(SQLITE_BUSY_SNAPSHOT));
981
+
982
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
983
+ rb_define_const(mC_ResultCode, "BUSY_TIMEOUT", INT2FIX(SQLITE_BUSY_TIMEOUT));
984
+
985
+ /* 14 -- Unable to open the database file */
986
+ rb_define_const(mC_ResultCode, "CANTOPEN", INT2FIX(SQLITE_CANTOPEN));
987
+
988
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
989
+ rb_define_const(mC_ResultCode, "CANTOPEN_CONVPATH", INT2FIX(SQLITE_CANTOPEN_CONVPATH));
990
+
991
+ /* (SQLITE_CANTOPEN | (5<<8)) -- Not Used */
992
+ rb_define_const(mC_ResultCode, "CANTOPEN_DIRTYWAL", INT2FIX(SQLITE_CANTOPEN_DIRTYWAL));
993
+
994
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
995
+ rb_define_const(mC_ResultCode, "CANTOPEN_FULLPATH", INT2FIX(SQLITE_CANTOPEN_FULLPATH));
996
+
997
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
998
+ rb_define_const(mC_ResultCode, "CANTOPEN_ISDIR", INT2FIX(SQLITE_CANTOPEN_ISDIR));
999
+
1000
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1001
+ rb_define_const(mC_ResultCode, "CANTOPEN_NOTEMPDIR", INT2FIX(SQLITE_CANTOPEN_NOTEMPDIR));
1002
+
1003
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1004
+ rb_define_const(mC_ResultCode, "CANTOPEN_SYMLINK", INT2FIX(SQLITE_CANTOPEN_SYMLINK));
1005
+
1006
+ /* 19 -- Abort due to constraint violation */
1007
+ rb_define_const(mC_ResultCode, "CONSTRAINT", INT2FIX(SQLITE_CONSTRAINT));
1008
+
1009
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1010
+ rb_define_const(mC_ResultCode, "CONSTRAINT_CHECK", INT2FIX(SQLITE_CONSTRAINT_CHECK));
1011
+
1012
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1013
+ rb_define_const(mC_ResultCode, "CONSTRAINT_COMMITHOOK", INT2FIX(SQLITE_CONSTRAINT_COMMITHOOK));
1014
+
1015
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1016
+ rb_define_const(mC_ResultCode, "CONSTRAINT_FOREIGNKEY", INT2FIX(SQLITE_CONSTRAINT_FOREIGNKEY));
1017
+
1018
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1019
+ rb_define_const(mC_ResultCode, "CONSTRAINT_FUNCTION", INT2FIX(SQLITE_CONSTRAINT_FUNCTION));
1020
+
1021
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1022
+ rb_define_const(mC_ResultCode, "CONSTRAINT_NOTNULL", INT2FIX(SQLITE_CONSTRAINT_NOTNULL));
1023
+
1024
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1025
+ rb_define_const(mC_ResultCode, "CONSTRAINT_PINNED", INT2FIX(SQLITE_CONSTRAINT_PINNED));
1026
+
1027
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1028
+ rb_define_const(mC_ResultCode, "CONSTRAINT_PRIMARYKEY", INT2FIX(SQLITE_CONSTRAINT_PRIMARYKEY));
1029
+
1030
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1031
+ rb_define_const(mC_ResultCode, "CONSTRAINT_ROWID", INT2FIX(SQLITE_CONSTRAINT_ROWID));
1032
+
1033
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1034
+ rb_define_const(mC_ResultCode, "CONSTRAINT_TRIGGER", INT2FIX(SQLITE_CONSTRAINT_TRIGGER));
1035
+
1036
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1037
+ rb_define_const(mC_ResultCode, "CONSTRAINT_UNIQUE", INT2FIX(SQLITE_CONSTRAINT_UNIQUE));
1038
+
1039
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1040
+ rb_define_const(mC_ResultCode, "CONSTRAINT_VTAB", INT2FIX(SQLITE_CONSTRAINT_VTAB));
1041
+
1042
+ /* 11 -- The database disk image is malformed */
1043
+ rb_define_const(mC_ResultCode, "CORRUPT", INT2FIX(SQLITE_CORRUPT));
1044
+
1045
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1046
+ rb_define_const(mC_ResultCode, "CORRUPT_INDEX", INT2FIX(SQLITE_CORRUPT_INDEX));
1047
+
1048
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1049
+ rb_define_const(mC_ResultCode, "CORRUPT_SEQUENCE", INT2FIX(SQLITE_CORRUPT_SEQUENCE));
1050
+
1051
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1052
+ rb_define_const(mC_ResultCode, "CORRUPT_VTAB", INT2FIX(SQLITE_CORRUPT_VTAB));
1053
+
1054
+ /* 101 -- sqlite3_step() has finished executing */
1055
+ rb_define_const(mC_ResultCode, "DONE", INT2FIX(SQLITE_DONE));
1056
+
1057
+ /* 16 -- Internal use only */
1058
+ rb_define_const(mC_ResultCode, "EMPTY", INT2FIX(SQLITE_EMPTY));
1059
+
1060
+ /* 1 -- Generic error */
1061
+ rb_define_const(mC_ResultCode, "ERROR", INT2FIX(SQLITE_ERROR));
1062
+
1063
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1064
+ rb_define_const(mC_ResultCode, "ERROR_MISSING_COLLSEQ", INT2FIX(SQLITE_ERROR_MISSING_COLLSEQ));
1065
+
1066
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1067
+ rb_define_const(mC_ResultCode, "ERROR_RETRY", INT2FIX(SQLITE_ERROR_RETRY));
1068
+
1069
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1070
+ rb_define_const(mC_ResultCode, "ERROR_SNAPSHOT", INT2FIX(SQLITE_ERROR_SNAPSHOT));
1071
+
1072
+ /* 24 -- Not used */
1073
+ rb_define_const(mC_ResultCode, "FORMAT", INT2FIX(SQLITE_FORMAT));
1074
+
1075
+ /* 13 -- Insertion failed because database is full */
1076
+ rb_define_const(mC_ResultCode, "FULL", INT2FIX(SQLITE_FULL));
1077
+
1078
+ /* 2 -- Internal logic error in SQLite */
1079
+ rb_define_const(mC_ResultCode, "INTERNAL", INT2FIX(SQLITE_INTERNAL));
1080
+
1081
+ /* 9 -- Operation terminated by sqlite3_interrupt() */
1082
+ rb_define_const(mC_ResultCode, "INTERRUPT", INT2FIX(SQLITE_INTERRUPT));
1083
+
1084
+ /* 10 -- Some kind of disk I/O error occurred */
1085
+ rb_define_const(mC_ResultCode, "IOERR", INT2FIX(SQLITE_IOERR));
1086
+
1087
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1088
+ rb_define_const(mC_ResultCode, "IOERR_ACCESS", INT2FIX(SQLITE_IOERR_ACCESS));
1089
+
1090
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1091
+ rb_define_const(mC_ResultCode, "IOERR_AUTH", INT2FIX(SQLITE_IOERR_AUTH));
1092
+
1093
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1094
+ rb_define_const(mC_ResultCode, "IOERR_BEGIN_ATOMIC", INT2FIX(SQLITE_IOERR_BEGIN_ATOMIC));
1095
+
1096
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1097
+ rb_define_const(mC_ResultCode, "IOERR_BLOCKED", INT2FIX(SQLITE_IOERR_BLOCKED));
1098
+
1099
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1100
+ rb_define_const(mC_ResultCode, "IOERR_CHECKRESERVEDLOCK", INT2FIX(SQLITE_IOERR_CHECKRESERVEDLOCK));
1101
+
1102
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1103
+ rb_define_const(mC_ResultCode, "IOERR_CLOSE", INT2FIX(SQLITE_IOERR_CLOSE));
1104
+
1105
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1106
+ rb_define_const(mC_ResultCode, "IOERR_COMMIT_ATOMIC", INT2FIX(SQLITE_IOERR_COMMIT_ATOMIC));
1107
+
1108
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1109
+ rb_define_const(mC_ResultCode, "IOERR_CONVPATH", INT2FIX(SQLITE_IOERR_CONVPATH));
1110
+
1111
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1112
+ rb_define_const(mC_ResultCode, "IOERR_CORRUPTFS", INT2FIX(SQLITE_IOERR_CORRUPTFS));
1113
+
1114
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1115
+ rb_define_const(mC_ResultCode, "IOERR_DATA", INT2FIX(SQLITE_IOERR_DATA));
1116
+
1117
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1118
+ rb_define_const(mC_ResultCode, "IOERR_DELETE", INT2FIX(SQLITE_IOERR_DELETE));
1119
+
1120
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1121
+ rb_define_const(mC_ResultCode, "IOERR_DELETE_NOENT", INT2FIX(SQLITE_IOERR_DELETE_NOENT));
1122
+
1123
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1124
+ rb_define_const(mC_ResultCode, "IOERR_DIR_CLOSE", INT2FIX(SQLITE_IOERR_DIR_CLOSE));
1125
+
1126
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1127
+ rb_define_const(mC_ResultCode, "IOERR_DIR_FSYNC", INT2FIX(SQLITE_IOERR_DIR_FSYNC));
1128
+
1129
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1130
+ rb_define_const(mC_ResultCode, "IOERR_FSTAT", INT2FIX(SQLITE_IOERR_FSTAT));
1131
+
1132
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1133
+ rb_define_const(mC_ResultCode, "IOERR_FSYNC", INT2FIX(SQLITE_IOERR_FSYNC));
1134
+
1135
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1136
+ rb_define_const(mC_ResultCode, "IOERR_GETTEMPPATH", INT2FIX(SQLITE_IOERR_GETTEMPPATH));
1137
+
1138
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1139
+ rb_define_const(mC_ResultCode, "IOERR_LOCK", INT2FIX(SQLITE_IOERR_LOCK));
1140
+
1141
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1142
+ rb_define_const(mC_ResultCode, "IOERR_MMAP", INT2FIX(SQLITE_IOERR_MMAP));
1143
+
1144
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1145
+ rb_define_const(mC_ResultCode, "IOERR_NOMEM", INT2FIX(SQLITE_IOERR_NOMEM));
1146
+
1147
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1148
+ rb_define_const(mC_ResultCode, "IOERR_RDLOCK", INT2FIX(SQLITE_IOERR_RDLOCK));
1149
+
1150
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1151
+ rb_define_const(mC_ResultCode, "IOERR_READ", INT2FIX(SQLITE_IOERR_READ));
1152
+
1153
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1154
+ rb_define_const(mC_ResultCode, "IOERR_ROLLBACK_ATOMIC", INT2FIX(SQLITE_IOERR_ROLLBACK_ATOMIC));
1155
+
1156
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1157
+ rb_define_const(mC_ResultCode, "IOERR_SEEK", INT2FIX(SQLITE_IOERR_SEEK));
1158
+
1159
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1160
+ rb_define_const(mC_ResultCode, "IOERR_SHMLOCK", INT2FIX(SQLITE_IOERR_SHMLOCK));
1161
+
1162
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1163
+ rb_define_const(mC_ResultCode, "IOERR_SHMMAP", INT2FIX(SQLITE_IOERR_SHMMAP));
1164
+
1165
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1166
+ rb_define_const(mC_ResultCode, "IOERR_SHMOPEN", INT2FIX(SQLITE_IOERR_SHMOPEN));
1167
+
1168
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1169
+ rb_define_const(mC_ResultCode, "IOERR_SHMSIZE", INT2FIX(SQLITE_IOERR_SHMSIZE));
1170
+
1171
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1172
+ rb_define_const(mC_ResultCode, "IOERR_SHORT_READ", INT2FIX(SQLITE_IOERR_SHORT_READ));
1173
+
1174
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1175
+ rb_define_const(mC_ResultCode, "IOERR_TRUNCATE", INT2FIX(SQLITE_IOERR_TRUNCATE));
1176
+
1177
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1178
+ rb_define_const(mC_ResultCode, "IOERR_UNLOCK", INT2FIX(SQLITE_IOERR_UNLOCK));
1179
+
1180
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1181
+ rb_define_const(mC_ResultCode, "IOERR_VNODE", INT2FIX(SQLITE_IOERR_VNODE));
1182
+
1183
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1184
+ rb_define_const(mC_ResultCode, "IOERR_WRITE", INT2FIX(SQLITE_IOERR_WRITE));
1185
+
1186
+ /* 6 -- A table in the database is locked */
1187
+ rb_define_const(mC_ResultCode, "LOCKED", INT2FIX(SQLITE_LOCKED));
1188
+
1189
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1190
+ rb_define_const(mC_ResultCode, "LOCKED_SHAREDCACHE", INT2FIX(SQLITE_LOCKED_SHAREDCACHE));
1191
+
1192
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1193
+ rb_define_const(mC_ResultCode, "LOCKED_VTAB", INT2FIX(SQLITE_LOCKED_VTAB));
1194
+
1195
+ /* 20 -- Data type mismatch */
1196
+ rb_define_const(mC_ResultCode, "MISMATCH", INT2FIX(SQLITE_MISMATCH));
1197
+
1198
+ /* 21 -- Library used incorrectly */
1199
+ rb_define_const(mC_ResultCode, "MISUSE", INT2FIX(SQLITE_MISUSE));
1200
+
1201
+ /* 22 -- Uses OS features not supported on host */
1202
+ rb_define_const(mC_ResultCode, "NOLFS", INT2FIX(SQLITE_NOLFS));
1203
+
1204
+ /* 7 -- A malloc() failed */
1205
+ rb_define_const(mC_ResultCode, "NOMEM", INT2FIX(SQLITE_NOMEM));
1206
+
1207
+ /* 26 -- File opened that is not a database file */
1208
+ rb_define_const(mC_ResultCode, "NOTADB", INT2FIX(SQLITE_NOTADB));
1209
+
1210
+ /* 12 -- Unknown opcode in sqlite3_file_control() */
1211
+ rb_define_const(mC_ResultCode, "NOTFOUND", INT2FIX(SQLITE_NOTFOUND));
1212
+
1213
+ /* 27 -- Notifications from sqlite3_log() */
1214
+ rb_define_const(mC_ResultCode, "NOTICE", INT2FIX(SQLITE_NOTICE));
1215
+
1216
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1217
+ rb_define_const(mC_ResultCode, "NOTICE_RECOVER_ROLLBACK", INT2FIX(SQLITE_NOTICE_RECOVER_ROLLBACK));
1218
+
1219
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1220
+ rb_define_const(mC_ResultCode, "NOTICE_RECOVER_WAL", INT2FIX(SQLITE_NOTICE_RECOVER_WAL));
1221
+
1222
+ /* 0 -- Successful result */
1223
+ rb_define_const(mC_ResultCode, "OK", INT2FIX(SQLITE_OK));
1224
+
1225
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1226
+ rb_define_const(mC_ResultCode, "OK_LOAD_PERMANENTLY", INT2FIX(SQLITE_OK_LOAD_PERMANENTLY));
1227
+
1228
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1229
+ rb_define_const(mC_ResultCode, "OK_SYMLINK", INT2FIX(SQLITE_OK_SYMLINK));
1230
+
1231
+ /* 3 -- Access permission denied */
1232
+ rb_define_const(mC_ResultCode, "PERM", INT2FIX(SQLITE_PERM));
1233
+
1234
+ /* 15 -- Database lock protocol error */
1235
+ rb_define_const(mC_ResultCode, "PROTOCOL", INT2FIX(SQLITE_PROTOCOL));
1236
+
1237
+ /* 25 -- 2nd parameter to sqlite3_bind out of range */
1238
+ rb_define_const(mC_ResultCode, "RANGE", INT2FIX(SQLITE_RANGE));
1239
+
1240
+ /* 8 -- Attempt to write a readonly database */
1241
+ rb_define_const(mC_ResultCode, "READONLY", INT2FIX(SQLITE_READONLY));
1242
+
1243
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1244
+ rb_define_const(mC_ResultCode, "READONLY_CANTINIT", INT2FIX(SQLITE_READONLY_CANTINIT));
1245
+
1246
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1247
+ rb_define_const(mC_ResultCode, "READONLY_CANTLOCK", INT2FIX(SQLITE_READONLY_CANTLOCK));
1248
+
1249
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1250
+ rb_define_const(mC_ResultCode, "READONLY_DBMOVED", INT2FIX(SQLITE_READONLY_DBMOVED));
1251
+
1252
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1253
+ rb_define_const(mC_ResultCode, "READONLY_DIRECTORY", INT2FIX(SQLITE_READONLY_DIRECTORY));
1254
+
1255
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1256
+ rb_define_const(mC_ResultCode, "READONLY_RECOVERY", INT2FIX(SQLITE_READONLY_RECOVERY));
1257
+
1258
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1259
+ rb_define_const(mC_ResultCode, "READONLY_ROLLBACK", INT2FIX(SQLITE_READONLY_ROLLBACK));
1260
+
1261
+ /* 100 -- sqlite3_step() has another row ready */
1262
+ rb_define_const(mC_ResultCode, "ROW", INT2FIX(SQLITE_ROW));
1263
+
1264
+ /* 17 -- The database schema changed */
1265
+ rb_define_const(mC_ResultCode, "SCHEMA", INT2FIX(SQLITE_SCHEMA));
1266
+
1267
+ /* 18 -- String or BLOB exceeds size limit */
1268
+ rb_define_const(mC_ResultCode, "TOOBIG", INT2FIX(SQLITE_TOOBIG));
1269
+
1270
+ /* 28 -- Warnings from sqlite3_log() */
1271
+ rb_define_const(mC_ResultCode, "WARNING", INT2FIX(SQLITE_WARNING));
1272
+
1273
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1274
+ rb_define_const(mC_ResultCode, "WARNING_AUTOINDEX", INT2FIX(SQLITE_WARNING_AUTOINDEX));
1275
+
1276
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1277
+ rb_define_const(mC_SHM, "EXCLUSIVE", INT2FIX(SQLITE_SHM_EXCLUSIVE));
1278
+
1279
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1280
+ rb_define_const(mC_SHM, "LOCK", INT2FIX(SQLITE_SHM_LOCK));
1281
+
1282
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1283
+ rb_define_const(mC_SHM, "NLOCK", INT2FIX(SQLITE_SHM_NLOCK));
1284
+
1285
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1286
+ rb_define_const(mC_SHM, "SHARED", INT2FIX(SQLITE_SHM_SHARED));
1287
+
1288
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1289
+ rb_define_const(mC_SHM, "UNLOCK", INT2FIX(SQLITE_SHM_UNLOCK));
1290
+
1291
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1292
+ rb_define_const(mC_ScanStat, "EST", INT2FIX(SQLITE_SCANSTAT_EST));
1293
+
1294
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1295
+ rb_define_const(mC_ScanStat, "EXPLAIN", INT2FIX(SQLITE_SCANSTAT_EXPLAIN));
1296
+
1297
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1298
+ rb_define_const(mC_ScanStat, "NAME", INT2FIX(SQLITE_SCANSTAT_NAME));
1299
+
1300
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1301
+ rb_define_const(mC_ScanStat, "NLOOP", INT2FIX(SQLITE_SCANSTAT_NLOOP));
1302
+
1303
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1304
+ rb_define_const(mC_ScanStat, "NVISIT", INT2FIX(SQLITE_SCANSTAT_NVISIT));
1305
+
1306
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1307
+ rb_define_const(mC_ScanStat, "SELECTID", INT2FIX(SQLITE_SCANSTAT_SELECTID));
1308
+
1309
+ /* 0x001 -- Do no memory allocations */
1310
+ rb_define_const(mC_Serialize, "NOCOPY", INT2FIX(SQLITE_SERIALIZE_NOCOPY));
1311
+
1312
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1313
+ rb_define_const(mC_Session, "CONFIG_STRMSIZE", INT2FIX(SQLITE_SESSION_CONFIG_STRMSIZE));
1314
+
1315
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1316
+ rb_define_const(mC_StatementStatus, "AUTOINDEX", INT2FIX(SQLITE_STMTSTATUS_AUTOINDEX));
1317
+
1318
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1319
+ rb_define_const(mC_StatementStatus, "FULLSCAN_STEP", INT2FIX(SQLITE_STMTSTATUS_FULLSCAN_STEP));
1320
+
1321
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1322
+ rb_define_const(mC_StatementStatus, "MEMUSED", INT2FIX(SQLITE_STMTSTATUS_MEMUSED));
1323
+
1324
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1325
+ rb_define_const(mC_StatementStatus, "REPREPARE", INT2FIX(SQLITE_STMTSTATUS_REPREPARE));
1326
+
1327
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1328
+ rb_define_const(mC_StatementStatus, "RUN", INT2FIX(SQLITE_STMTSTATUS_RUN));
1329
+
1330
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1331
+ rb_define_const(mC_StatementStatus, "SORT", INT2FIX(SQLITE_STMTSTATUS_SORT));
1332
+
1333
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1334
+ rb_define_const(mC_StatementStatus, "VM_STEP", INT2FIX(SQLITE_STMTSTATUS_VM_STEP));
1335
+
1336
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1337
+ rb_define_const(mC_Status, "MALLOC_COUNT", INT2FIX(SQLITE_STATUS_MALLOC_COUNT));
1338
+
1339
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1340
+ rb_define_const(mC_Status, "MALLOC_SIZE", INT2FIX(SQLITE_STATUS_MALLOC_SIZE));
1341
+
1342
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1343
+ rb_define_const(mC_Status, "MEMORY_USED", INT2FIX(SQLITE_STATUS_MEMORY_USED));
1344
+
1345
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1346
+ rb_define_const(mC_Status, "PAGECACHE_OVERFLOW", INT2FIX(SQLITE_STATUS_PAGECACHE_OVERFLOW));
1347
+
1348
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1349
+ rb_define_const(mC_Status, "PAGECACHE_SIZE", INT2FIX(SQLITE_STATUS_PAGECACHE_SIZE));
1350
+
1351
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1352
+ rb_define_const(mC_Status, "PAGECACHE_USED", INT2FIX(SQLITE_STATUS_PAGECACHE_USED));
1353
+
1354
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1355
+ rb_define_const(mC_Status, "PARSER_STACK", INT2FIX(SQLITE_STATUS_PARSER_STACK));
1356
+
1357
+ /* 4 -- NOT USED */
1358
+ rb_define_const(mC_Status, "SCRATCH_OVERFLOW", INT2FIX(SQLITE_STATUS_SCRATCH_OVERFLOW));
1359
+
1360
+ /* 8 -- NOT USED */
1361
+ rb_define_const(mC_Status, "SCRATCH_SIZE", INT2FIX(SQLITE_STATUS_SCRATCH_SIZE));
1362
+
1363
+ /* 3 -- NOT USED */
1364
+ rb_define_const(mC_Status, "SCRATCH_USED", INT2FIX(SQLITE_STATUS_SCRATCH_USED));
1365
+
1366
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1367
+ rb_define_const(mC_Sync, "DATAONLY", INT2FIX(SQLITE_SYNC_DATAONLY));
1368
+
1369
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1370
+ rb_define_const(mC_Sync, "FULL", INT2FIX(SQLITE_SYNC_FULL));
1371
+
1372
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1373
+ rb_define_const(mC_Sync, "NORMAL", INT2FIX(SQLITE_SYNC_NORMAL));
1374
+
1375
+ /* 5 -- Deprecated */
1376
+ rb_define_const(mC_TextEncoding, "ANY", INT2FIX(SQLITE_ANY));
1377
+
1378
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1379
+ rb_define_const(mC_TextEncoding, "DETERMINISTIC", INT2FIX(SQLITE_DETERMINISTIC));
1380
+
1381
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1382
+ rb_define_const(mC_TextEncoding, "DIRECTONLY", INT2FIX(SQLITE_DIRECTONLY));
1383
+
1384
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1385
+ rb_define_const(mC_TextEncoding, "INNOCUOUS", INT2FIX(SQLITE_INNOCUOUS));
1386
+
1387
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1388
+ rb_define_const(mC_TextEncoding, "SUBTYPE", INT2FIX(SQLITE_SUBTYPE));
1389
+
1390
+ /* 4 -- Use native byte order */
1391
+ rb_define_const(mC_TextEncoding, "UTF16", INT2FIX(SQLITE_UTF16));
1392
+
1393
+ /* 3 -- IMP: R-51971-34154 */
1394
+ rb_define_const(mC_TextEncoding, "UTF16BE", INT2FIX(SQLITE_UTF16BE));
1395
+
1396
+ /* 2 -- IMP: R-03371-37637 */
1397
+ rb_define_const(mC_TextEncoding, "UTF16LE", INT2FIX(SQLITE_UTF16LE));
1398
+
1399
+ /* 8 -- sqlite3_create_collation only */
1400
+ rb_define_const(mC_TextEncoding, "UTF16_ALIGNED", INT2FIX(SQLITE_UTF16_ALIGNED));
1401
+
1402
+ /* 1 -- IMP: R-37514-35566 */
1403
+ rb_define_const(mC_TextEncoding, "UTF8", INT2FIX(SQLITE_UTF8));
1404
+
1405
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1406
+ rb_define_const(mC_Trace, "CLOSE", INT2FIX(SQLITE_TRACE_CLOSE));
1407
+
1408
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1409
+ rb_define_const(mC_Trace, "PROFILE", INT2FIX(SQLITE_TRACE_PROFILE));
1410
+
1411
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1412
+ rb_define_const(mC_Trace, "ROW", INT2FIX(SQLITE_TRACE_ROW));
1413
+
1414
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1415
+ rb_define_const(mC_Trace, "STMT", INT2FIX(SQLITE_TRACE_STMT));
1416
+
1417
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1418
+ rb_define_const(mC_Transaction, "NONE", INT2FIX(SQLITE_TXN_NONE));
1419
+
1420
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1421
+ rb_define_const(mC_Transaction, "READ", INT2FIX(SQLITE_TXN_READ));
1422
+
1423
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1424
+ rb_define_const(mC_Transaction, "WRITE", INT2FIX(SQLITE_TXN_WRITE));
1425
+
1426
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1427
+ rb_define_const(mC_Win32, "DATA_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_DATA_DIRECTORY_TYPE));
1428
+
1429
+ /* no meaningful autogenerated documentation -- constant is self explanatory ?*/
1430
+ rb_define_const(mC_Win32, "TEMP_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_TEMP_DIRECTORY_TYPE));
1431
+
1432
+ }