ext/numo/narray/gen/tmpl_bit/to_a.c in numo-narray-0.9.0.4 vs ext/numo/narray/gen/tmpl_bit/to_a.c in numo-narray-0.9.0.5
- old
+ new
@@ -28,14 +28,14 @@
}
}
/*
Convert self to Array.
- @overload <%=method%>
+ @overload <%=name%>
@return [Array]
*/
static VALUE
-<%=c_func%>(VALUE self)
+<%=c_func(0)%>(VALUE self)
{
ndfunc_arg_in_t ain[3] = {{Qnil,0},{sym_loop_opt},{sym_option}};
ndfunc_arg_out_t aout[1] = {{rb_cArray,0}}; // dummy?
ndfunc_t ndf = {<%=c_iter%>, FULL_LOOP_NIP, 3,1, ain,aout};
return na_ndloop_cast_narray_to_rarray(&ndf, self, Qnil);