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

fix empty nested values and types #129

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

jraymakers
Copy link
Contributor

Fix for #128.

When creating struct, list, or array values, or struct, union, or enum types, or data chunks, special handling is needed when empty arrays are provided. The underlying C API functions need valid data pointers even though the supplied count is zero.

Added unit tests for all relevant cases.

@jraymakers jraymakers merged commit 33d96d9 into main Jan 30, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/fix-empty-nested-values-and-types branch January 30, 2025 05:05
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