Sha256: 7b7a5d70f26723c393a45c92442c3b54c961ceb2a6cd7700d69a7dbc71e6e1f2

Contents?: true

Size: 180 Bytes

Versions: 1

Compression:

Stored size: 180 Bytes

Contents

module GirFFI
  # Provides methods needed by all generated classes
  module ClassBase
    def initialize ptr
      @gobj = ptr
    end
    def to_ptr
      @gobj
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.0.1 lib/gir_ffi/class_base.rb