You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax aside, there's no way to currently hold a pointer to a variadic/splat proc. The concept doesn't exist in the language, and I have no idea how it could be implemented.
The best thing to do is to use a regular Proc, make sure it's not a closure, and then cast it to Void* and pass that as the callback.
From
to
Once #214 is implemented, the syntax for variadic callbacks should be
The reasons are the same as always, replacing obsolete special cases with general constructs of the language.
The text was updated successfully, but these errors were encountered: