Sha256: 53d1aa54b47c97786de7f30017048516e553663afbf01d235f12c445a99bb362

Contents?: true

Size: 478 Bytes

Versions: 13

Compression:

Stored size: 478 Bytes

Contents

module RDF::Raptor::FFI::V2
  class World < ::FFI::AutoPointer
    include RDF::Raptor::FFI

    def initialize()
      ptr = V2.raptor_new_world_internal(V2.raptor_version_decimal)
      super(ptr, self.class.method(:release))
    end

    ##
    # Releases `libraptor` memory associated with this structure.
    #
    # @param  [FFI::Pointer] ptr
    # @return [void]
    def self.release(ptr)
      V2.raptor_free_world(ptr)
    end

  end # World
end # RDF::Raptor::FFI::V2

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rdf-raptor-3.2.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-3.1.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-2.2.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-2.0.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.99.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.2.1 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.2.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.1.2 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.1.1 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.1.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.0.1 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.0.0 lib/rdf/raptor/ffi/v2/world.rb
rdf-raptor-1.0.0.beta1 lib/rdf/raptor/ffi/v2/world.rb