#include <stdapis/glib-2.0/gobject/gvalue.h>
| struct _GValue |
| Public Attributes | |
|---|---|
| union _GValue::@0 | data |
| GType | g_type |
| gdouble | v_double |
| gfloat | v_float |
| gint | v_int |
| gint64 | v_int64 |
| glong | v_long |
| gpointer | v_pointer |
| guint | v_uint |
| guint64 | v_uint64 |
| gulong | v_ulong |
GValue:
An opaque structure used to hold different types of values. The data within the structure has protected scope: it is accessible only to functions within a GTypeValueTable structure, or implementations of the g_value_*() API. That is, code portions which implement new fundamental types. GValue users can not make any assumptions about how data is stored within the 2 element union, and the member should only be accessed through the G_VALUE_TYPE() macro.