Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GValue Struct Reference

#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] 
 

Detailed Description

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.

Definition at line 113 of file gvalue.h.

Field Documentation

◆ [union]

union { ... } _GValue::data[2]

◆ g_type

GType _GValue::g_type

Definition at line 116 of file gvalue.h.

◆ v_double

gdouble _GValue::v_double

Definition at line 127 of file gvalue.h.

◆ v_float

gfloat _GValue::v_float

Definition at line 126 of file gvalue.h.

◆ v_int

gint _GValue::v_int

Definition at line 120 of file gvalue.h.

◆ v_int64

gint64 _GValue::v_int64

Definition at line 124 of file gvalue.h.

◆ v_long

glong _GValue::v_long

Definition at line 122 of file gvalue.h.

◆ v_pointer

gpointer _GValue::v_pointer

Definition at line 128 of file gvalue.h.

◆ v_uint

guint _GValue::v_uint

Definition at line 121 of file gvalue.h.

◆ v_uint64

guint64 _GValue::v_uint64

Definition at line 125 of file gvalue.h.

◆ v_ulong

gulong _GValue::v_ulong

Definition at line 123 of file gvalue.h.


The documentation for this struct was generated from the following file: