Module: GObject::GObject::GObjectLayout

Included in:
ManagedStruct, Struct
Defined in:
lib/vips/gobject.rb

Overview

the layout of the GObject struct

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



43
44
45
46
47
48
49
# File 'lib/vips/gobject.rb', line 43

def self.included base
    base.class_eval do
        layout :g_type_instance, :pointer,
               :ref_count, :uint,
               :qdata, :pointer
    end
end