summaryrefslogtreecommitdiffstats
path: root/lasso/xml/is_interaction_request.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:20 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:20 +0000
commitcfc64aac4cfb9644babffd9498dd35d0f21c2900 (patch)
tree7d9674757f86b21deb61093380f55280c6350d87 /lasso/xml/is_interaction_request.c
parent03c6d3ba25f7a61f3ac35561b887dddf84d7f289 (diff)
downloadlasso-cfc64aac4cfb9644babffd9498dd35d0f21c2900.tar.gz
lasso-cfc64aac4cfb9644babffd9498dd35d0f21c2900.tar.xz
lasso-cfc64aac4cfb9644babffd9498dd35d0f21c2900.zip
Core: add references handling macros
* lasso/utils.h: - add macro lasso_transfer_string and lasso_transfer_gobject, to transfer ownership of such objects without copying or their changing reference count. The old containing variable is NULLed. - lasso_list_add_gobject,lasso_list_add_new_gobject: test if the added object is a GObject, if not do not add it and print a warning. - lasso_check_type_equality: this macro use special builtin functions only with GCC (typeof and __builtin_types_compatible_p) and do metaprogramming using anonymous enumeration type to make compile time assertions. It is used - add macros to release XPathObject XPathContext, macro constructor to make reference transfert macros (free dest, nullify dest, copy src to dest without increasing refcount, nullify src), add a macro to transfert xpath objects.
Diffstat (limited to 'lasso/xml/is_interaction_request.c')
0 files changed, 0 insertions, 0 deletions