Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <gvalue.h>
Data Fields | ||
GType | g_type | |
union { | ||
gint v_int | ||
guint v_uint | ||
glong v_long | ||
gulong v_ulong | ||
gint64 v_int64 | ||
guint64 v_uint64 | ||
gfloat v_float | ||
gdouble v_double | ||
gpointer v_pointer | ||
} | data [2] | |
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 cannot make any assumptions about how data is stored within the 2 element @data union, and the @g_type member should only be accessed through the G_VALUE_TYPE() macro.
union { ... } _GValue::data[2] |