ext/main.c in ruby-vpi-15.0.2 vs ext/main.c in ruby-vpi-16.0.0

- old
+ new

@@ -1,24 +1,9 @@ /* Copyright 1999 Kazuhiro HIWADA Copyright 2006 Suraj N. Kurapati - - This file is part of Ruby-VPI. - - Ruby-VPI is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - Ruby-VPI is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Ruby-VPI; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + See the file named LICENSE for details. */ #include "main.h" #include "relay.h" #include <stdlib.h> @@ -36,12 +21,11 @@ // load the VPI interface for Ruby Init_vpi(); rb_define_module_function(mVpi, "relay_verilog", main_relay_verilog, 0); rb_define_module_function(mVpi, "relay_ruby_reason", main_relay_ruby_reason, 0); - // initialize the Ruby bench - char* benchFile = getenv("RUBY_VPI__RUBY_BENCH_FILE"); + char* benchFile = getenv("RUBYVPI_BOOTSTRAP"); if (benchFile != NULL) { ruby_script(benchFile); rb_load_file(benchFile); }