ext/numo/gsl/histogram/erbpp_histogram.rb in numo-gsl-0.1.1 vs ext/numo/gsl/histogram/erbpp_histogram.rb in numo-gsl-0.1.2
- old
+ new
@@ -1,7 +1,6 @@
require_relative "../gen/erbpp_gsl"
-require "erbpp/line_number"
hist_list =
[
{func_name:"gsl_histogram_n",func_type:"size_t",args:[["struct",""]]},
{func_name:"gsl_histogram_range",func_type:"double *",args:[["struct",""]]},
@@ -75,9 +74,10 @@
end
end
end
DefLib.new do
+ set line_number: true
set erb_dir: %w[tmpl ../gen/tmpl]
set erb_suffix: ".c"
set ns_var: "mG"
ErbPP.new(self,"cast_1d_contiguous",call_init:"")