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



175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/vips/object.rb', line 175

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