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
{{ message }}
Repository navigation
Facade: 'parameter of a callback or array type' (68 functions, 9 libraries) stays raw #3178
Part of #3115; cluster from the #3116 survey: 68 functions in 9 libraries take a callback or a fixed array (libcurl curl_global_init_mem, glfw's Set*Callback, …). Sibling of #3113 (the userdata pair). The facade needs the callback shape (a With closure or fn with the C signature, the userdata convention) so these present safely; until then the report should say which parameter and what shape would describe it.
#3417 merged the report half: a function kept raw by a callback parameter now says which parameter, and 'callback param N userdata param M' when a void * carries its userdata, or "no clause yet" when none does (and for a fixed array). Open for the rest: a callback with no userdata parameter and a fixed-array parameter have no clause, which is grammar.
Activity
Contract report: a function kept raw by a callback parameter says whi…
ehartford commentedon Nov 18, 2026
#3417 merged the report half: a function kept raw by a callback parameter now says which parameter, and
'callback param N userdata param M'when avoid *carries its userdata, or "no clause yet" when none does (and for a fixed array). Open for the rest: a callback with no userdata parameter and a fixed-array parameter have no clause, which is grammar.'callback param N': a callback with no userdata; a retained one state…