ext/numo/narray/gen/tmpl_bit/extract.c in numo-narray-0.9.0.4 vs ext/numo/narray/gen/tmpl_bit/extract.c in numo-narray-0.9.0.5
- old
+ new
@@ -5,10 +5,10 @@
--- Extract element value as Ruby Object if self is a dimensionless NArray,
otherwise returns self.
*/
static VALUE
-numo_bit_extract(VALUE self)
+<%=c_func(0)%>(VALUE self)
{
BIT_DIGIT *ptr, val;
size_t pos;
narray_t *na;
GetNArray(self,na);