ext/nmatrix/storage/list.h in nmatrix-0.0.2 vs ext/nmatrix/storage/list.h in nmatrix-0.0.3

- old
+ new

@@ -71,11 +71,11 @@ //////////////// // Lifecycle // /////////////// - LIST_STORAGE* nm_list_storage_create(dtype_t dtype, size_t* shape, size_t dim, void* init_val); + 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*); /////////////// @@ -95,11 +95,11 @@ ////////// // Math // ////////// - STORAGE* nm_list_storage_ew_op(nm::ewop_t op, const STORAGE* left, const STORAGE* right); + STORAGE* nm_list_storage_ew_op(nm::ewop_t op, const STORAGE* left, const STORAGE* right, VALUE scalar); STORAGE* nm_list_storage_matrix_multiply(const STORAGE_PAIR& casted_storage, size_t* resulting_shape, bool vector); ///////////// // Utility // @@ -119,11 +119,11 @@ // Copying and Casting // ///////////////////////// LIST_STORAGE* nm_list_storage_copy(const LIST_STORAGE* rhs); STORAGE* nm_list_storage_copy_transposed(const STORAGE* rhs_base); - STORAGE* nm_list_storage_cast_copy(const STORAGE* rhs, dtype_t new_dtype); - VALUE nm_list_storage_to_hash(const LIST_STORAGE* s, const dtype_t dtype); + STORAGE* nm_list_storage_cast_copy(const STORAGE* rhs, nm::dtype_t new_dtype); + VALUE nm_list_storage_to_hash(const LIST_STORAGE* s, const nm::dtype_t dtype); } // end of extern "C" block #endif // LIST_H