forked from Azure/azure-sdk-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for non-contiguous buffers within JSON builder using a ca…
…llback mechanism. (Azure#902) * Add support for non-contiguous buffers within JSON builder using a callback mechanism. * Reword a comment. * Adding the callback method signature on the top of the test file to fix missing-declarations warning. * Add tests where allocator returns null or first destination is null. * Move init to be a suffix in chunked API. * Change the init APIs to accept void* user_context instead of the allocator callback struct. * Revert "Change the init APIs to accept void* user_context instead of the" This reverts commit 35f3ccb92e44cd3cae4610f43aafaef298d815ef. * Revert "Move init to be a suffix in chunked API." This reverts commit d58bb4b2a4a57363595b5165287b8a6f4fca02a9. * Revert "Add tests where allocator returns null or first destination is null." This reverts commit 2358db8a6da5f6a3431995177a168e81ae3613a1. * Revert "Merge branch 'master' of https://github.com/Azure/azure-sdk-for-c into BuilderNonContiguous" This reverts commit 542ccb35a10114aa61903e55704251ed7bdeaa70, reversing changes made to dd03bf2c7037ffa2c29fb81481de55c7fe22ec69. * Revert "Adding the callback method signature on the top of the test file to fix" This reverts commit dd03bf2c7037ffa2c29fb81481de55c7fe22ec69. * Revert "Reword a comment." This reverts commit 4fa831667525fafd725550205a0fb3d01aba8a7f. * Revert "Add support for non-contiguous buffers within JSON builder using a" This reverts commit d88dd9557be60ba732342a6e1855fda832bf5808. * Re-apply all the changes on top of master, after the recent rename and API updates. * Update allocator context field names, and flip remaining_size to bytes_used. * Update get_json API name and simplify internal fields of the writer struct. * Enable appending strings in limited size chunks, rather than requiring the entire destination up-front. * Remove unused local, fix some spacing, formatting, and typos.
- Loading branch information
Showing
7 changed files
with
1,136 additions
and
196 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
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.