Skip to content

Facade: 'parameter of a callback or array type' (68 functions, 9 libraries) stays raw #3178

Closed

Description

@ehartford

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.

Activity

  1. added
    bug
    on Nov 9, 2026
  2. ehartford commented on Nov 18, 2026

    @ehartford
    ContributorAuthor

    #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions