c42f
3
You need special syntax for ccall
ing C varargs functions. See:
So in this case,
function SCIPexprCreate(blkmem_, expr__, op, value)
ccall((:SCIPexprCreate, libscip), SCIP_RETCODE,
(Ptr{BMS_BLKMEM}, Ref{Ptr{SCIP_EXPR}}, SCIP_EXPROP, Cdouble...),
# Note ^^^
blkmem_, expr__, op, value)
end
2 Likes