ext/nmatrix/storage/list.h in nmatrix-0.0.8 vs ext/nmatrix/storage/list.h in nmatrix-0.0.9

- old
+ new

@@ -38,17 +38,13 @@ /* * Project Includes */ #include "types.h" - #include "data/data.h" - #include "common.h" - #include "util/sl_list.h" - #include "nmatrix.h" /* * Macros */ @@ -74,20 +70,21 @@ /////////////// LIST_STORAGE* nm_list_storage_create(nm::dtype_t dtype, size_t* shape, size_t dim, void* init_val); void nm_list_storage_delete(STORAGE* s); void nm_list_storage_delete_ref(STORAGE* s); - void nm_list_storage_mark(void*); + void nm_list_storage_mark(STORAGE*); /////////////// // Accessors // /////////////// VALUE nm_list_each_with_indices(VALUE nmatrix, bool stored); - void* nm_list_storage_ref(STORAGE* s, SLICE* slice); - void* nm_list_storage_get(STORAGE* s, SLICE* slice); - void* nm_list_storage_insert(STORAGE* s, SLICE* slice, void* val); - void* nm_list_storage_remove(STORAGE* s, SLICE* slice); + void* nm_list_storage_ref(const STORAGE* s, SLICE* slice); + void* nm_list_storage_get(const STORAGE* s, SLICE* slice); + NODE* nm_list_storage_insert(STORAGE* s, SLICE* slice, void* val); + void nm_list_storage_set(VALUE left, SLICE* slice, VALUE right); + void nm_list_storage_remove(STORAGE* s, SLICE* slice); /////////// // Tests // ///////////