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 const size_t json_c_object_sizeof() #390

Merged
merged 2 commits into from Dec 14, 2017

Conversation

besser82
Copy link
Contributor

Cherry picked from master.

besser82 and others added 2 commits December 13, 2017 21:17
#ifdef __GNUC__
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
#else
#define CONST_FUNCTION(func) func
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs #391 as well.

@hawicz hawicz merged commit 1882e3c into json-c:json-c-0.13 Dec 14, 2017
@hawicz
Copy link
Member

hawicz commented Dec 14, 2017

#391 cherrypicked as commit b5a3eff too.

@besser82 besser82 deleted the json-c-0.13 branch December 14, 2017 13:30
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

3 participants