diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:13:46 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:13:46 +0000 |
| commit | bb2f640231f5f88cb819cb761be2f30d90a34f00 (patch) | |
| tree | 2e72dfaa8084e67354dafc530e71a1e7838d45ff /docs/reference | |
| parent | 1e21b80fcd678cf3d073609e693b3435efbb84a2 (diff) | |
| download | lasso-bb2f640231f5f88cb819cb761be2f30d90a34f00.tar.gz lasso-bb2f640231f5f88cb819cb761be2f30d90a34f00.tar.xz lasso-bb2f640231f5f88cb819cb761be2f30d90a34f00.zip | |
Core: in utils.h, add a macros, fix existing
* lasso/utils.h:
- add macro lasso_ref(object), if object is not null, call
g_object_ref on it, and return the value, otherwise do nothing and
return NULL.
- make a better reporting of bad object release
- change format type for __LINE__ and dest arguments in
lasso_release_gobject warning display.
- add a lasso_check_non_empty_string macro
- add new macro to extract a specific node type from a list of
GObject objects.
- use xmlStrdup not g_strdup for lasso_assign_xml_string
- add lasso_list_add_gstrv and lasso_check_good_rc
- add macro lasso_list_get_first_child
- add inline function to test empty string
- change macro lasso_check_non_empty_string to use the new inline
function and go to cleanup
- fix lasso_check_non_empty_string macro
* lasso/utils.c:
- add lasso_gobject_is_of_type returns 0 if first parameters is a
gobject whose GType is equal to the second parameter, and 1
otherwise.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions
