1
1
function sqlite3_open (file:: String ,handle:: Array{Ptr{Void},1} )
2
- return ccall ( (:sqlite3_open , sqlite3_lib), stdcall,
2
+ @windows_only return ccall ( (:sqlite3_open , sqlite3_lib), stdcall,
3
3
Cint, (Ptr{Uint8},Ptr{Void}),
4
4
file,handle)
5
+ @unix_only return ccall ( (:sqlite3_open , sqlite3_lib),
6
+ Cint, (Ptr{Uint8},Ptr{Void}),
7
+ file,handle)
5
8
end
6
9
function sqlite3_open16 (file:: String ,handle:: Array{Ptr{Void},1} )
7
- return ccall ( (:sqlite3_open16 , sqlite3_lib), stdcall,
10
+ @windows_only return ccall ( (:sqlite3_open16 , sqlite3_lib), stdcall,
8
11
Cint, (Ptr{Uint8},Ptr{Void}),
9
12
file,handle)
13
+ @unix_only return ccall ( (:sqlite3_open16 , sqlite3_lib),
14
+ Cint, (Ptr{Uint8},Ptr{Void}),
15
+ file,handle)
10
16
end
11
17
function sqlite3_open_v2 (file:: String ,handle:: Array{Ptr{Void},1} ,flags:: Cint ,vfs:: String )
12
- return ccall ( (:sqlite3_open_v2 , sqlite3_lib), stdcall,
18
+ @windows_only return ccall ( (:sqlite3_open_v2 , sqlite3_lib), stdcall,
13
19
Cint, (Ptr{Uint8},Ptr{Void},Cint,Ptr{Uint8}),
14
20
file,handle,flags,vfs)
21
+ @unix_only return ccall ( (:sqlite3_open_v2 , sqlite3_lib),
22
+ Cint, (Ptr{Uint8},Ptr{Void},Cint,Ptr{Uint8}),
23
+ file,handle,flags,vfs)
15
24
end
16
25
function sqlite3_prepare (handle:: Ptr{Void} ,query:: String ,stmt:: Array{Ptr{Void},1} ,unused:: Array{Ptr{Void},1} )
17
- return ccall ( (:sqlite3_prepare , sqlite3_lib), stdcall,
26
+ @windows_only return ccall ( (:sqlite3_prepare , sqlite3_lib), stdcall,
18
27
Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}),
19
28
handle,query,length (query),stmt,unused)
29
+ @unix_only return ccall ( (:sqlite3_prepare , sqlite3_lib),
30
+ Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Vo
31
+ handle,query,length (query),stmt,unused)
20
32
end
21
33
function sqlite3_prepare_v2 (handle:: Ptr{Void} ,query:: String ,stmt:: Array{Ptr{Void},1} ,unused:: Array{Ptr{Void},1} )
22
- return ccall ( (:sqlite3_prepare_v2 , sqlite3_lib), stdcall,
34
+ @windows_only return ccall ( (:sqlite3_prepare_v2 , sqlite3_lib), stdcall,
23
35
Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}),
24
36
handle,query,length (query),stmt,unused)
37
+ @unix_only return ccall ( (:sqlite3_prepare_v2 , sqlite3_lib),
38
+ Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}
39
+ handle,query,length (query),stmt,unused)
25
40
end
26
41
function sqlite3_prepare16 (handle:: Ptr{Void} ,query:: String ,stmt:: Array{Ptr{Void},1} ,unused:: Array{Ptr{Void},1} )
27
- return ccall ( (:sqlite3_prepare16 , sqlite3_lib), stdcall,
42
+ @windows_only return ccall ( (:sqlite3_prepare16 , sqlite3_lib), stdcall,
28
43
Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}),
29
44
handle,query,length (query),stmt,unused)
45
+ @unix_only return ccall ( (:sqlite3_prepare16 , sqlite3_lib),
46
+ Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void
47
+ handle,query,length (query),stmt,unused)
30
48
end
31
49
function sqlite3_prepare16_v2 (handle:: Ptr{Void} ,query:: String ,stmt:: Array{Ptr{Void},1} ,unused:: Array{Ptr{Void},1} )
32
- return ccall ( (:sqlite3_prepare16_v2 , sqlite3_lib), stdcall,
50
+ @windows_only return ccall ( (:sqlite3_prepare16_v2 , sqlite3_lib), stdcall,
33
51
Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}),
34
52
handle,query,length (query),stmt,unused)
53
+ @unix_only return ccall ( (:sqlite3_prepare16_v2 , sqlite3_lib),
54
+ Cint, (Ptr{Void},Ptr{Uint8},Cint,Ptr{Void},Ptr{Void}),
55
+ handle,query,length (query),stmt,unused)
35
56
end
36
57
function sqlite3_step (stmt:: Ptr{Void} )
37
- return ccall ( (:sqlite3_step , sqlite3_lib), stdcall,
58
+ @windows_only return ccall ( (:sqlite3_step , sqlite3_lib), stdcall,
38
59
Cint, (Ptr{Void},),
39
60
stmt)
61
+ @unix_only return ccall ( (:sqlite3_step , sqlite3_lib),
62
+ Cint, (Ptr{Void},),
63
+ stmt)
40
64
end
41
65
function sqlite3_column_count (stmt:: Ptr{Void} )
42
- return ccall ( (:sqlite3_column_count , sqlite3_lib), stdcall,
66
+ @windows_only return ccall ( (:sqlite3_column_count , sqlite3_lib), stdcall,
43
67
Cint, (Ptr{Void},),
44
68
stmt)
69
+ @unix_only return ccall ( (:sqlite3_column_count , sqlite3_lib),
70
+ Cint, (Ptr{Void},),
71
+ stmt)
45
72
end
46
73
function sqlite3_column_blob (stmt:: Ptr{Void} ,col:: Int )
47
- return ccall ( (:sqlite3_column_blob , sqlite3_lib), stdcall,
74
+ @windows_only return ccall ( (:sqlite3_column_blob , sqlite3_lib), stdcall,
48
75
Ptr{Void}, (Ptr{Void},Cint),
49
76
stmt,col)
77
+ @unix_only return ccall ( (:sqlite3_column_blob , sqlite3_lib),
78
+ Ptr{Void}, (Ptr{Void},Cint),
79
+ stmt,col)
50
80
end
51
81
52
82
function sqlite3_column_bytes (stmt:: Ptr{Void} ,col:: Int )
53
- return ccall ( (:sqlite3_column_bytes , sqlite3_lib), stdcall,
83
+ @windows_only return ccall ( (:sqlite3_column_bytes , sqlite3_lib), stdcall,
54
84
Cint, (Ptr{Void},Cint),
55
85
stmt,col)
86
+ @unix_only return ccall ( (:sqlite3_column_bytes , sqlite3_lib),
87
+ Cint, (Ptr{Void},Cint),
88
+ stmt,col)
56
89
end
57
90
function sqlite3_column_bytes16 (stmt:: Ptr{Void} ,col:: Int )
58
- return ccall ( (:sqlite3_column_bytes16 , sqlite3_lib), stdcall,
91
+ @windows_only return ccall ( (:sqlite3_column_bytes16 , sqlite3_lib), stdcall,
59
92
Cint, (Ptr{Void},Cint),
60
93
stmt,col)
94
+ @unix_only return ccall ( (:sqlite3_column_bytes16 , sqlite3_lib),
95
+ Cint, (Ptr{Void},Cint),
96
+ stmt,col)
61
97
end
62
98
function sqlite3_column_double (stmt:: Ptr{Void} ,col:: Int )
63
- return ccall ( (:sqlite3_column_double , sqlite3_lib), stdcall,
99
+ @windows_only return ccall ( (:sqlite3_column_double , sqlite3_lib), stdcall,
64
100
Cdouble, (Ptr{Void},Cint),
65
101
stmt,col)
102
+ @unix_only return ccall ( (:sqlite3_column_double , sqlite3_lib),
103
+ Cdouble, (Ptr{Void},Cint),
104
+ stmt,col)
66
105
end
67
106
function sqlite3_column_int (stmt:: Ptr{Void} ,col:: Int )
68
- return ccall ( (:sqlite3_column_int , sqlite3_lib), stdcall,
107
+ @windows_only return ccall ( (:sqlite3_column_int , sqlite3_lib), stdcall,
69
108
Cint, (Ptr{Void},Cint),
70
109
stmt,col)
110
+ @unix_only return ccall ( (:sqlite3_column_int , sqlite3_lib),
111
+ Cint, (Ptr{Void},Cint),
112
+ stmt,col)
71
113
end
72
114
function sqlite3_column_int64 (stmt:: Ptr{Void} ,col:: Int )
73
- return ccall ( (:sqlite3_column_int64 , sqlite3_lib), stdcall,
115
+ @windows_only return ccall ( (:sqlite3_column_int64 , sqlite3_lib), stdcall,
74
116
Clonglong, (Ptr{Void},Cint),
75
117
stmt,col)
118
+ @unix_only return ccall ( (:sqlite3_column_int64 , sqlite3_lib),
119
+ Clonglong, (Ptr{Void},Cint),
120
+ stmt,col)
76
121
end
77
122
function sqlite3_column_text (stmt:: Ptr{Void} ,col:: Int )
78
- return ccall ( (:sqlite3_column_text , sqlite3_lib), stdcall,
123
+ @windows_only return ccall ( (:sqlite3_column_text , sqlite3_lib), stdcall,
79
124
Ptr{Uint8}, (Ptr{Void},Cint),
80
125
stmt,col)
126
+ @unix_only return ccall ( (:sqlite3_column_text , sqlite3_lib),
127
+ Ptr{Uint8}, (Ptr{Void},Cint),
128
+ stmt,col)
81
129
end
82
130
function sqlite3_column_text16 (stmt:: Ptr{Void} ,col:: Int )
83
- return ccall ( (:sqlite3_column_text16 , sqlite3_lib), stdcall,
131
+ @windows_only return ccall ( (:sqlite3_column_text16 , sqlite3_lib), stdcall,
84
132
Ptr{Void}, (Ptr{Void},Cint),
85
133
stmt,col)
134
+ @unix_only return ccall ( (:sqlite3_column_text16 , sqlite3_lib),
135
+ Ptr{Void}, (Ptr{Void},Cint),
136
+ stmt,col)
86
137
end
87
138
const FUNCS = [SQLITE_INTEGER=> sqlite3_column_int,SQLITE_FLOAT=> sqlite3_column_double,SQLITE3_TEXT=> sqlite3_column_text,SQLITE_BLOB=> sqlite3_column_blob,SQLITE_NULL=> sqlite3_column_text]
88
139
function sqlite3_column_type (stmt:: Ptr{Void} ,col:: Int )
89
- return ccall ( (:sqlite3_column_type , sqlite3_lib), stdcall,
140
+ @windows_only return ccall ( (:sqlite3_column_type , sqlite3_lib), stdcall,
90
141
Cint, (Ptr{Void},Cint),
91
142
stmt,col)
143
+ @unix_only return ccall ( (:sqlite3_column_type , sqlite3_lib),
144
+ Cint, (Ptr{Void},Cint),
145
+ stmt,col)
92
146
end
93
147
# function sqlite3_column_value(stmt::Ptr{Void},col::Cint)
94
- # return ccall( (:sqlite3_column_value, sqlite3_lib), stdcall,
148
+ @windows_only # return ccall( (:sqlite3_column_value, sqlite3_lib), stdcall,
149
+ # Ptr{Void}, (Ptr{Void},Cint),
150
+ # stmt,col)
151
+ @unix_only # return ccall( (:sqlite3_column_value, sqlite3_lib),
95
152
# Ptr{Void}, (Ptr{Void},Cint),
96
153
# stmt,col)
97
154
# end
98
155
# SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
99
156
function sqlite3_finalize (stmt:: Ptr{Void} )
100
- return ccall ( (:sqlite3_finalize , sqlite3_lib), stdcall,
157
+ @windows_only return ccall ( (:sqlite3_finalize , sqlite3_lib), stdcall,
101
158
Cint, (Ptr{Void},),
102
159
stmt)
160
+ @unix_only return ccall ( (:sqlite3_finalize , sqlite3_lib),
161
+ Cint, (Ptr{Void},),
162
+ stmt)
103
163
end
104
164
function sqlite3_reset (stmt:: Ptr{Void} )
105
- return ccall ( (:sqlite3_reset , sqlite3_lib), stdcall,
165
+ @windows_only return ccall ( (:sqlite3_reset , sqlite3_lib), stdcall,
106
166
Cint, (Ptr{Void},),
107
167
stmt)
168
+ @unix_only return ccall ( (:sqlite3_reset , sqlite3_lib),
169
+ Cint, (Ptr{Void},),
170
+ stmt)
108
171
end
109
172
110
173
# SQLITE_API const char *sqlite3_column_name(sqlite3_stmt*, int N);
111
174
function sqlite3_column_name (stmt:: Ptr{Void} ,n:: Int )
112
- return ccall ( (:sqlite3_column_name , sqlite3_lib), stdcall,
175
+ @windows_only return ccall ( (:sqlite3_column_name , sqlite3_lib), stdcall,
113
176
Ptr{Uint8}, (Ptr{Void},Cint),
114
177
stmt,n)
178
+ @unix_only return ccall ( (:sqlite3_column_name , sqlite3_lib),
179
+ Ptr{Uint8}, (Ptr{Void},Cint),
180
+ stmt,n)
115
181
end
116
182
function sqlite3_column_name16 (stmt:: Ptr{Void} ,n:: Int )
117
- return ccall ( (:sqlite3_column_name16 , sqlite3_lib), stdcall,
183
+ @windows_only return ccall ( (:sqlite3_column_name16 , sqlite3_lib), stdcall,
118
184
Ptr{Uint8}, (Ptr{Void},Cint),
119
185
stmt,n)
186
+ @unix_only return ccall ( (:sqlite3_column_name16 , sqlite3_lib),
187
+ Ptr{Uint8}, (Ptr{Void},Cint),
188
+ stmt,n)
120
189
end
121
190
# SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt*, int N);
122
191
@@ -133,39 +202,60 @@ end
133
202
# SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt);
134
203
135
204
function sqlite3_close (handle:: Ptr{Void} )
136
- return ccall ( (:sqlite3_close , sqlite3_lib), stdcall,
205
+ @windows_only return ccall ( (:sqlite3_close , sqlite3_lib), stdcall,
137
206
Cint, (Ptr{Void},),
138
207
handle)
208
+ @unix_only return ccall ( (:sqlite3_close , sqlite3_lib),
209
+ Cint, (Ptr{Void},),
210
+ handle)
139
211
end
140
212
function sqlite3_close_v2 (handle:: Ptr{Void} )
141
- return ccall ( (:sqlite3_close_v2 , sqlite3_lib), stdcall,
213
+ @windows_only return ccall ( (:sqlite3_close_v2 , sqlite3_lib), stdcall,
142
214
Cint, (Ptr{Void},),
143
215
handle)
216
+ @unix_only return ccall ( (:sqlite3_close_v2 , sqlite3_lib),
217
+ Cint, (Ptr{Void},),
218
+ handle)
144
219
end
145
220
function sqlite3_initialize ()
146
- return ccall ( (:sqlite3_initialize , sqlite3_lib), stdcall,
221
+ @windows_only return ccall ( (:sqlite3_initialize , sqlite3_lib), stdcall,
147
222
Cint, (),
148
223
)
224
+ @unix_only return ccall ( (:sqlite3_initialize , sqlite3_lib),
225
+ Cint, (),
226
+ )
149
227
end
150
228
function sqlite3_shutdown ()
151
- return ccall ( (:sqlite3_shutdown , sqlite3_lib), stdcall,
229
+ @windows_only return ccall ( (:sqlite3_shutdown , sqlite3_lib), stdcall,
152
230
Cint, (),
153
231
)
232
+ @unix_only return ccall ( (:sqlite3_shutdown , sqlite3_lib),
233
+ Cint, (),
234
+ )
154
235
end
155
236
function sqlite3_os_init ()
156
- return ccall ( (:sqlite3_os_init , sqlite3_lib), stdcall,
237
+ @windows_only return ccall ( (:sqlite3_os_init , sqlite3_lib), stdcall,
157
238
Cint, (),
158
239
)
240
+ @unix_only return ccall ( (:sqlite3_os_init , sqlite3_lib),
241
+ Cint, (),
242
+ )
159
243
end
160
244
function sqlite3_os_end ()
161
- return ccall ( (:sqlite3_os_end , sqlite3_lib), stdcall,
245
+ @windows_only return ccall ( (:sqlite3_os_end , sqlite3_lib), stdcall,
162
246
Cint, (),
163
247
)
248
+ @unix_only return ccall ( (:sqlite3_os_end , sqlite3_lib),
249
+ Cint, (),
250
+ )
164
251
end
165
252
function sqlite3_free_table (result:: Array{String,1} )
166
- return ccall ( (:sqlite3_free_table , sqlite_lib), stdcall,
253
+ @windows_only return ccall ( (:sqlite3_free_table , sqlite_lib), stdcall,
167
254
Void, (Ptr{Ptr{Void}},),
168
255
result)
256
+ @unix_only return ccall ( (:sqlite3_free_table , sqlite_lib),
257
+ Void, (Ptr{Ptr{Void}},),
258
+ result)
169
259
end
170
260
171
261
# SQLITE_API int sqlite3_exec(
@@ -188,37 +278,52 @@ end
188
278
# SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault);
189
279
# SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char*, const char*, sqlite3_int64);
190
280
function sqlite3_errcode (db:: Ptr{Void} )
191
- return ccall ( (:sqlite3_errcode , sqlite3_lib), stdcall,
281
+ @windows_only return ccall ( (:sqlite3_errcode , sqlite3_lib), stdcall,
192
282
Cint, (Ptr{Void},),
193
283
db)
284
+ @unix_only return ccall ( (:sqlite3_errcode , sqlite3_lib),
285
+ Cint, (Ptr{Void},),
286
+ db)
194
287
end
195
288
function sqlite3_extended_errcode (db:: Ptr{Void} )
196
- return ccall ( (:sqlite3_extended_errcode , sqlite3_lib), stdcall,
289
+ @windows_only return ccall ( (:sqlite3_extended_errcode , sqlite3_lib), stdcall,
197
290
Cint, (Ptr{Void},),
198
291
db)
292
+ @unix_only return ccall ( (:sqlite3_extended_errcode , sqlite3_lib),
293
+ Cint, (Ptr{Void},),
294
+ db)
199
295
end
200
296
# SQLITE_API int sqlite3_errcode(sqlite3 *db);
201
297
# SQLITE_API int sqlite3_extended_errcode(sqlite3 *db);
202
298
# SQLITE_API const char *sqlite3_errmsg(sqlite3*);
203
299
function sqlite3_errmsg (db:: Ptr{Void} )
204
- return ccall ( (:sqlite3_errmsg , sqlite3_lib), stdcall,
300
+ @windows_only return ccall ( (:sqlite3_errmsg , sqlite3_lib), stdcall,
205
301
Ptr{Uint8}, (Ptr{Void},),
206
302
db)
303
+ @unix_only return ccall ( (:sqlite3_errmsg , sqlite3_lib),
304
+ Ptr{Uint8}, (Ptr{Void},),
305
+ db)
207
306
end
208
307
# SQLITE_API const void *sqlite3_errmsg16(sqlite3*);
209
308
function sqlite3_errstr (ret:: Cint )
210
- return ccall ( (:sqlite3_errstr , sqlite3_lib), stdcall,
309
+ @windows_only return ccall ( (:sqlite3_errstr , sqlite3_lib), stdcall,
211
310
Ptr{Uint8}, (Cint,),
212
311
ret)
312
+ @unix_only return ccall ( (:sqlite3_errstr , sqlite3_lib),
313
+ Ptr{Uint8}, (Cint,),
314
+ ret)
213
315
end
214
316
# SQLITE_API const char *sqlite3_errstr(int);
215
317
216
318
# SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
217
319
218
320
function sqlite3_sql (stmt:: Ptr{Void} )
219
- return ccall ( (:sqlite3_sql , sqlite3_lib), stdcall,
321
+ @windows_only return ccall ( (:sqlite3_sql , sqlite3_lib), stdcall,
220
322
Void, (Ptr{Void},),
221
323
stmt)
324
+ @unix_only return ccall ( (:sqlite3_sql , sqlite3_lib),
325
+ Void, (Ptr{Void},),
326
+ stmt)
222
327
end
223
328
224
329
# SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt);
@@ -228,33 +333,48 @@ end
228
333
# SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*));
229
334
# SQLITE_API int sqlite3_bind_double(sqlite3_stmt*, int, double);
230
335
function sqlite3_bind_double (stmt:: Ptr{Void} ,col:: Int ,value:: Float64 )
231
- return ccall ( (:sqlite3_bind_double , sqlite3_lib), stdcall,
336
+ @windows_only return ccall ( (:sqlite3_bind_double , sqlite3_lib), stdcall,
232
337
Cint, (Ptr{Void},Cint,Float64),
233
338
stmt,col,value)
339
+ @unix_only return ccall ( (:sqlite3_bind_double , sqlite3_lib),
340
+ Cint, (Ptr{Void},Cint,Float64),
341
+ stmt,col,value)
234
342
end
235
343
# SQLITE_API int sqlite3_bind_int(sqlite3_stmt*, int, int);
236
344
function sqlite3_bind_int (stmt:: Ptr{Void} ,col:: Int ,value:: Int32 )
237
- return ccall ( (:sqlite3_bind_int , sqlite3_lib), stdcall,
345
+ @windows_only return ccall ( (:sqlite3_bind_int , sqlite3_lib), stdcall,
238
346
Cint, (Ptr{Void},Cint,Int32),
239
347
stmt,col,value)
348
+ @unix_only return ccall ( (:sqlite3_bind_int , sqlite3_lib),
349
+ Cint, (Ptr{Void},Cint,Int32),
350
+ stmt,col,value)
240
351
end
241
352
# SQLITE_API int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64);
242
353
function sqlite3_bind_int64 (stmt:: Ptr{Void} ,col:: Int ,value:: Int64 )
243
- return ccall ( (:sqlite3_bind_int64 , sqlite3_lib), stdcall,
354
+ @windows_only return ccall ( (:sqlite3_bind_int64 , sqlite3_lib), stdcall,
244
355
Cint, (Ptr{Void},Cint,Int64),
245
356
stmt,col,value)
357
+ @unix_only return ccall ( (:sqlite3_bind_int64 , sqlite3_lib),
358
+ Cint, (Ptr{Void},Cint,Int64),
359
+ stmt,col,value)
246
360
end
247
361
# SQLITE_API int sqlite3_bind_null(sqlite3_stmt*, int);
248
362
function sqlite3_bind_null (stmt:: Ptr{Void} ,col:: Int )
249
- return ccall ( (:sqlite3_bind_null , sqlite3_lib), stdcall,
363
+ @windows_only return ccall ( (:sqlite3_bind_null , sqlite3_lib), stdcall,
250
364
Cint, (Ptr{Void},Cint),
251
365
stmt,col)
366
+ @unix_only return ccall ( (:sqlite3_bind_null , sqlite3_lib),
367
+ Cint, (Ptr{Void},Cint),
368
+ stmt,col)
252
369
end
253
370
# SQLITE_API int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*));
254
371
function sqlite3_bind_text (stmt:: Ptr{Void} ,col:: Int ,value:: String ,len:: Int ,cb:: Ptr{Void} )
255
- return ccall ( (:sqlite3_bind_text , sqlite3_lib), stdcall,
372
+ @windows_only return ccall ( (:sqlite3_bind_text , sqlite3_lib), stdcall,
256
373
Cint, (Ptr{Void},Cint,Ptr{Uint8},Cint,Ptr{Void}),
257
374
stmt,col,value,len,cb)
375
+ @unix_only return ccall ( (:sqlite3_bind_text , sqlite3_lib),
376
+ Cint, (Ptr{Void},Cint,Ptr{Uint8},Cint,Ptr{Void}),
377
+ stmt,col,value,len,cb)
258
378
end
259
379
# SQLITE_API int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*));
260
380
# SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
0 commit comments