[gdome]mkref / unref
- From: Laurent Marzullo <marzullo la-defense oilfield slb com>
- To: GDOME <gdome gnome org>
- Subject: [gdome]mkref / unref
- Date: Thu, 22 Jan 2004 12:30:26 +0100
Hello,
When should I write gdome_xxx_unref( ... ) ?
Should I write unref for each and only each mkref or should
I also write unref when getting object via other method ?
Ex:
void
my_function( void )
{
GdomeElement* elt = gdome_doc_documentElement( mydoc , &excp );
// Shoul I write
gdome_el_unref( elt , &excp );
// or not ?
}
Thanks very much
--
Laurent Marzullo <marzullo la-defense oilfield slb com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]