# File lib/inline.rb, line 486 def map_c_const(names_and_types) names_and_types.each do |name, typ| self.add_to_init " rb_define_const(c, #{name.to_s.inspect}, #{c2ruby(typ.to_s)}(#{name}));" end end