Top Level Namespace
Defined Under Namespace
Modules: Memprof
Constant Summary collapse
- CWD =
File.(File.dirname(__FILE__))
Instance Method Summary collapse
Instance Method Details
#add_define(name) ⇒ Object
74 75 76 |
# File 'ext/extconf.rb', line 74 def add_define(name) $defs.push("-D#{name}") end |
#sys(cmd) ⇒ Object
14 15 16 17 18 19 20 |
# File 'ext/extconf.rb', line 14 def sys(cmd) puts " -- #{cmd}" unless ret = xsystem(cmd) raise "#{cmd} failed, please report to [email protected] with pastie.org link to #{CWD}/mkmf.log" end ret end |