Skip to content

Commit ad41fce

Browse files
committed
Move NULLCHECK outside of ccall. Oops.
1 parent 9dbe32b commit ad41fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ function sqlite3_create_function_v2(db::Ptr{Void},name::String,nargs::Integer,
296296
enc::Integer,data::Ptr{Void},func::Ptr{Void},
297297
step::Ptr{Void},final::Ptr{Void},
298298
destructor::Ptr{Void})
299+
@NULLCHECK db
299300
return ccall(
300-
@NULLCHECK db
301301
(:sqlite3_create_function_v2, sqlite3_lib),
302302
Cint,
303303
(Ptr{Void}, Ptr{Uint8}, Cint, Cint, Ptr{Void},

0 commit comments

Comments
 (0)