Skip to content

Fix signature of BufferWithSegmentsCollection_init#282

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

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

Conversation

@zebreus
Copy link

@zebreus zebreus commented Sep 22, 2025

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
Copy link
Author

zebreus commented Jan 27, 2026

@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