summaryrefslogtreecommitdiff
path: root/json-glib/json-gvariant.h
Commit message (Collapse)AuthorAgeFilesLines
* Use compiler annotations to determine symbol visibilityEmmanuele Bassi2014-03-181-0/+4
| | | | | | | | | | | | | | | | | Instead of relying on a separate file that requires being update every time we add a new public function we should use compiler annotations to let the linker know which symbols are public and exported. In order to achieve this we have to: * check for the visibility=hidden attribute * add -fvisibility=hidden to the linker flags * add a macro to annotate all public symbols While we're at it, we should copy the versioned symbols macro layout already used by GLib, GTK+, and other G* libraries, including the ability to express the range of allowed versions of JSON-GLib that third party code can compile against.
* Make json-gvariant.h conform to the other headersEmmanuele Bassi2013-12-041-2/+5
| | | | | Only include the necessary headers, and use a single-header inclusion guard to prevent people from including only json-gvariant.h.
* gvariant: Adds JSON GVariant integration API, with docs and testsEduardo Lima Mitev2011-01-261-0/+46
https://bugzilla.gnome.org/show_bug.cgi?id=632940