Module: Vips::Object::ObjectLayout

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

Overview

the layout of the VipsObject struct

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/vips/object.rb', line 91

def self.included base
    base.class_eval do
        # don't actually need most of these
        layout :parent, GObject::GObject::Struct, 
           :constructed, :int,
           :static_object, :int,
           :argument_table, :pointer,
           :nickname, :string,
           :description, :string,
           :preclose, :int,
           :close, :int,
           :postclose, :int,
           :local_memory, :size_t
    end
end