Class: FFIGen::UnknownType

Inherits:
Type
  • Object
show all
Defined in:
lib/ffi_gen.rb,
lib/ffi_gen/java_output.rb,
lib/ffi_gen/ruby_output.rb

Instance Method Summary collapse

Methods inherited from Type

#java_description, #ruby_description

Instance Method Details

#java_jna_typeObject



387
388
389
# File 'lib/ffi_gen/java_output.rb', line 387

def java_jna_type
  "byte"
end

#java_nameObject



383
384
385
# File 'lib/ffi_gen/java_output.rb', line 383

def java_name
  "unknown"
end

#nameObject



273
274
275
# File 'lib/ffi_gen.rb', line 273

def name
  Name.new ["unknown"]
end

#ruby_ffi_typeObject



314
315
316
# File 'lib/ffi_gen/ruby_output.rb', line 314

def ruby_ffi_type
  ":char"
end

#ruby_nameObject



310
311
312
# File 'lib/ffi_gen/ruby_output.rb', line 310

def ruby_name
  "unknown"
end