storing integers in pointers
- From: ibr ata cs hun edu tr
- To: gtk-list gnome org
- Subject: storing integers in pointers
- Date: Sat, 19 Mar 2005 12:02:19 +0100
Hello,
I'm using GTree and GHashTable to store bytes as data (via provided type
conversion macros like GINT_TO_POINTER). Lookup functions return NULL if
the key was not found. Does this mean that one can't use the type
conversion trick to store data for which 0 is a valid value?
With kind regards,
Baurzhan.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]