/* method: typecode -- returns the type of the array */ static VALUE na_typecode(VALUE self) { struct NARRAY *ary; GetNArray(self,ary); return INT2FIX(ary->type); }