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



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'lib/vips/object.rb', line 181

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