class FFI::ConstGenerator

def dump_constants(io)

Returns:
  • (nil) -

Parameters:
  • io (#puts) --
def dump_constants(io)
  @constants.each do |name, constant|
    name = [@prefix, name].join '.' if @prefix
    io.puts "#{name} = #{constant.converted_value}"
  end
end