How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?



Hi,

I have to fill a GList with strings and unsigned long int.
The content of the GList is not always the same so I don't
know wich element is a string to free or a GUINT_TO_POINTER
that I don't have to free. Is there a trick to do so ?

Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]