Class: FFIGen::ByReferenceType

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Type

#java_description, #ruby_description

Constructor Details

#initialize(inner_type) ⇒ ByReferenceType

Returns a new instance of ByReferenceType.



226
227
228
# File 'lib/ffi_gen.rb', line 226

def initialize(inner_type)
  @inner_type = inner_type
end

Instance Attribute Details

#inner_typeObject

Returns the value of attribute inner_type.



224
225
226
# File 'lib/ffi_gen.rb', line 224

def inner_type
  @inner_type
end

Instance Method Details

#java_jna_typeObject



335
336
337
# File 'lib/ffi_gen/java_output.rb', line 335

def java_jna_type
  @inner_type.java_jna_type
end

#java_nameObject



331
332
333
# File 'lib/ffi_gen/java_output.rb', line 331

def java_name
  @inner_type.java_name
end

#nameObject



230
231
232
# File 'lib/ffi_gen.rb', line 230

def name
  @inner_type.name
end

#ruby_ffi_typeObject



262
263
264
# File 'lib/ffi_gen/ruby_output.rb', line 262

def ruby_ffi_type
  @inner_type.ruby_ffi_type
end

#ruby_nameObject



258
259
260
# File 'lib/ffi_gen/ruby_output.rb', line 258

def ruby_name
  @inner_type.ruby_name
end