Method: GObject::GValue#init

Defined in:
lib/vips/gvalue.rb

#init(gtype) ⇒ Object

Set the type of thing a gvalue can hold.

Parameters:

  • gtype (GType)

    the type of thing this GValue can hold.



75
76
77
# File 'lib/vips/gvalue.rb', line 75

def init gtype
  ::GObject::g_value_init self, gtype
end