Skip to content

fix empty nested values and types#129

Merged
jraymakers merged 1 commit intomainfrom
jray/fix-empty-nested-values-and-types
Jan 30, 2025
Merged

fix empty nested values and types#129
jraymakers merged 1 commit intomainfrom
jray/fix-empty-nested-values-and-types

Conversation

@jraymakers
Copy link
Copy Markdown
Collaborator

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