Method: FFIGen::ArrayType#ruby_ffi_type

Defined in:
lib/ffi_gen/ruby_output.rb

#ruby_ffi_typeObject



279
280
281
282
283
284
285
# File 'lib/ffi_gen/ruby_output.rb', line 279

def ruby_ffi_type
  if @constant_size
    "[#{@element_type.ruby_ffi_type}, #{@constant_size}]"
  else
    ":pointer"
  end
end