Skip to content

Fix signature of BufferWithSegmentsCollection_init#282

Open
zebreus wants to merge 1 commit into
indygreg:mainfrom
wasix-org:main
Open

Fix signature of BufferWithSegmentsCollection_init#282
zebreus wants to merge 1 commit into
indygreg:mainfrom
wasix-org:main

Conversation

@zebreus

@zebreus zebreus commented Sep 22, 2025

Copy link
Copy Markdown

The correct signature for tp_init functions has three parameters; but the BufferWithSegmentsCollection_init just takes two. While most platforms allow calling functions with the wrong number of parameters, WebAssembly only allows calling functions with the correct signature.

This PR fixes that issue by adding the missing PyObject *kwargs parameter to BufferWithSegmentsCollection_init

@zebreus

zebreus commented Jan 27, 2026

Copy link
Copy Markdown
Author

@indygreg Can you take a look at this PR?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant