glib/gio/gdbus-codegen
David Zeuthen 05448a6bef gdbus-codegen: Rework C property getters
Rework property getters to use a vfunc so we can take the fast path
and avoid allocating memory for both the skeleton and the proxy
cases. This requires some special case because of how GVariant expects
you to free memory in some cases, see #657100. Add test cases for
this.

Document the _get_ functions as not being thread-safe and also
generate _dup_ C getters (which are thread-safe).

Mark all the generated _get_, _dup_ and _set_ as (skip) as non-C
languages should just use GObject properties and not the (socalled)
"C binding".

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-23 12:54:27 -04:00
..
__init__.py gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
.gitignore Update .gitignores 2011-05-02 09:54:15 -04:00
codegen_docbook.py gdbus-codegen: Properly render @param and %TRUE in generated Docbook 2011-05-24 00:27:43 -04:00
codegen_main.py gdbus-codegen: Fix build 2011-06-09 11:53:08 -04:00
codegen.py gdbus-codegen: Rework C property getters 2011-08-23 12:54:27 -04:00
config.py.in gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
dbustypes.py gdbus-codegen: Rework C property getters 2011-08-23 12:54:27 -04:00
gdbus-codegen.in gdbus-codegen: Add copyright / license headers 2011-04-15 08:33:30 -04:00
Makefile.am gdbus-codegen: Clean config.pyc to make distcheck happy 2011-06-07 14:17:11 -04:00
parser.py gdbus-codegen: Handle unexpected XML tags 2011-05-23 23:23:10 -04:00
utils.py gdbus-codegen: Generate docs when generating C code 2011-04-18 14:23:19 -04:00