Sha256: 7108dd0c1108d38d5d2b70580d8da4311a31ea22eaaaedc790e08c7429c32f0d

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

require 'ffi'

module FFI
  module Library
    def ffi_lib(*names)
    end

    def ffi_libraries
    end

    def attach_function(name, func, args, returns = nil, options = nil)
      define_singleton_method(name) {|*the_args|}
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mohawk-0.2.1 spec/ffi_stub.rb
mohawk-0.2 spec/ffi_stub.rb
mohawk-0.1.4 spec/ffi_stub.rb
mohawk-0.1.0 spec/ffi_stub.rb
mohawk-0.0.9 spec/ffi_stub.rb
mohawk-0.0.8 spec/ffi_stub.rb