Wrote a macro to make ccall look a little more like Julia. Need an opinion on the return type placement

There’s no C-level handling for this either. If you look at Meta.@lower, you’ll see that ccall is actually implemented as a macro. But the lowered form (foreigncall) also doesn’t define support for varargs of different types.

1 Like