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

json_object: Add size_t json_object_sizeof() #388

Merged
merged 1 commit into from Dec 12, 2017

Conversation

besser82
Copy link
Contributor

@besser82 besser82 commented Dec 11, 2017

This comes in handy when one wants to pre-allocate memory to store a bunch of struct json_object, like gdal does.

@besser82 besser82 force-pushed the enhancement/json_object_sizeof branch from e035b38 to af426b5 Compare December 11, 2017 12:03
@besser82 besser82 changed the title json_object: Add const size_t json_object_sizeof() json_object: Add size_t json_object_sizeof() Dec 11, 2017
@besser82 besser82 force-pushed the enhancement/json_object_sizeof branch from af426b5 to c123a1c Compare December 11, 2017 15:16
@hawicz hawicz merged commit 94fd101 into json-c:master Dec 12, 2017
@besser82 besser82 deleted the enhancement/json_object_sizeof branch December 13, 2017 00:23
@besser82
Copy link
Contributor Author

@hawicz Can you please backport this to the 0.13 branch, so we can have this function in a possible future 0.13.1 release?

@besser82
Copy link
Contributor Author

@hawicz I opened #390 to backport this for 0.13.X series…

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.

None yet

2 participants