ext/nmatrix/nmatrix.h in nmatrix-0.0.6 vs ext/nmatrix/nmatrix.h in nmatrix-0.0.7
- old
+ new
@@ -301,11 +301,10 @@
#define NM_STORAGE_LIST(val) ((struct NM_LIST_STORAGE*)(NM_STORAGE(val)))
#define NM_STORAGE_YALE(val) ((struct NM_YALE_STORAGE*)(NM_STORAGE(val)))
#define NM_STORAGE_DENSE(val) ((struct NM_DENSE_STORAGE*)(NM_STORAGE(val)))
#endif
-#define NM_DENSE_SRC(val) (NM_STORAGE_DENSE(val)->src)
-#define NM_LIST_SRC(val) (NM_STORAGE_LIST(val)->src)
+#define NM_SRC(val) (NM_STORAGE(val)->src)
#define NM_DIM(val) (NM_STORAGE(val)->dim)
#define NM_DTYPE(val) (NM_STORAGE(val)->dtype)
#define NM_ITYPE(val) (NM_STORAGE_YALE(val)->itype)
#define NM_STYPE(val) (NM_STRUCT(val)->stype)
#define NM_SHAPE(val,i) (NM_STORAGE(val)->shape[(i)])