Skip to content

Commit 04f6cec

Browse files
committed
wrap gen: fixup comment
1 parent 6b8b656 commit 04f6cec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wrap_sundials.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ function typeify_sundials_pointers(expr::Expr)
160160
wrap_expr = Expr(:(=),
161161
# function declaration with argument types stripped
162162
Expr(:call, Symbol(func_name), map(expr -> expr.args[1], drop(expr.args[1].args, 1))...),
163-
# function declaration with argument types stripped
163+
# low-level function call with Julia types converted to low-level arguments
164164
Expr(:call, Symbol(lowlevel_func_name), map(drop(expr.args[1].args, 1)) do expr
165+
# process each argument
165166
wrap_arg = true # indicates whether the argument wrapper is required
166167
if expr.args[2] == :N_Vector || expr.args[2] == :Clong ||
167168
ismatch(r"MemPtr$", string(expr.args[2]))

0 commit comments

Comments
 (0)