/* method: size() -- returns the total number of elements */ static VALUE na_size(VALUE self) { struct NARRAY *ary; GetNArray(self,ary); return INT2FIX(ary->total); }