Next: , Previous: g-value-zero, Up: Using GValues


4.6.2 g-value-init

— Function: g-value-init
     (g-value-init value type)
value
A foreign pointer to GValue structure
type
A GType designator

Initializes the GValue to store instances of type type. Must be called before other functions operate on GValue (except g-value-zero and set-g-value with keyword argument :g-value-init set to true).