-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(c/vendor): Update vendored nanoarrow to 0.5.0 (when released) (#…
…1871) This PR updates the vendored nanoarrow to 0.5.0. It also fixes a breaking change: in 0.4.0 and below, you could do: ``` struct ArrowBuffer buffer; memset(&buffer, 0, sizeof(struct ArrowBuffer)); ArrowBufferReset(&buffer); ``` In 0.5.0, you have to initialize the buffer at least once: ``` struct ArrowBuffer buffer; ArrowBufferInit(&buffer); ArrowBufferReset(&buffer); ``` I could modify `ArrowBufferReset()` to maintain backwards compatibility here to check for a null `buffer->allocator.realloc`, although in general all the other `ArrowXXX` have to be initialized before calling `ArrowXXXReset()`.
- Loading branch information
1 parent
453a9c3
commit e88cc20
Showing
6 changed files
with
624 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.