# File lib/inline_acceleration.rb, line 320
    def link_constants(type, names)
      names.each do |name|
        get_constant_method = "get_constant_#{name}"
        
        self.c_singleton "\#{type} \#{get_constant_method}(void) {\nreturn \#{name};\n}\n"
        
        @eval_on_load << "\#{@mod.name}.const_set(:\#{name}, \#{get_constant_method})\n"
      end
    end