Skip to content

spec: explicit C callback types in variadic cases (D66) - #1671

Merged
ehartford merged 1 commit into
mainfrom
modeled-c-callback-type-ruling
Sep 25, 2026
Merged

ehartford merged 1 commit into
mainfrom
modeled-c-callback-type-ruling

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

D66's variadic callback example names userdata but omits the callback's C signature, which curl_easy_setopt cannot provide. Eric approved the explicit spelling callback param 2 as curl_write_callback userdata param CURLOPT_WRITEDATA.

The specification and decision log now require that declared type and preserve the existing cross-call pairing, retention, and lifetime requirements. Implementation follows separately; this does not close #1652.

Validation: with build :spec-inventory-check passed.

@ehartford
ehartford merged commit c1c1012 into main Sep 25, 2026
@ehartford
ehartford deleted the modeled-c-callback-type-ruling branch September 25, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant