Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed C-binding data length to size_t #235

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Changed C-binding data length to size_t #235

merged 1 commit into from
Oct 7, 2024

Conversation

Skielex
Copy link
Collaborator

@Skielex Skielex commented Oct 5, 2024

This removes arbitrary data size restriction from C-interface.

@Skielex
Copy link
Collaborator Author

Skielex commented Oct 5, 2024

Should we change the other interface types to fixed width types (e.g., int32_t) while we're at it? I don't see why not.

@mwlon
Copy link
Owner

mwlon commented Oct 5, 2024

@Skielex that sounds good to me. I'm no expert at this C interface business.

@Skielex
Copy link
Collaborator Author

Skielex commented Oct 6, 2024

I'll ask on Discord if anyone has a opinion on this. I think moving to modern fixed size types would be the right thing, but I'm no expert on C either.

@Skielex
Copy link
Collaborator Author

Skielex commented Oct 7, 2024

Not a lot of response. I'll leave the others as they are.

@Skielex Skielex merged commit 8741a6a into main Oct 7, 2024
2 checks passed
@mwlon mwlon deleted the cbind-sizet branch October 8, 2024 01:13
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.

2 participants