aboutsummaryrefslogtreecommitdiff
path: root/ndarray.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-03-22 15:13:38 +0100
committerAnton Khirnov <anton@khirnov.net>2019-03-22 20:11:54 +0100
commitafc75fc633c67f19bb18b9b2373ae48b69b0c94e (patch)
tree28d678fb3abb8255c1ef60ab5e95586014de5e2a /ndarray.h
parentb100c23d609f74a3f7f7808998a647b2b1e2fcef (diff)
ndarray: add a function for copying arrays
Diffstat (limited to 'ndarray.h')
-rw-r--r--ndarray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndarray.h b/ndarray.h
index e264fba..f10ac80 100644
--- a/ndarray.h
+++ b/ndarray.h
@@ -52,4 +52,6 @@ void mg2di_ndarray_free(NDArray **a);
int mg2di_ndarray_slice(NDArray **result, NDArray *src,
const Slice * const slice);
+int mg2di_ndarray_copy(NDArray *dst, const NDArray *src);
+
#endif // MG2D_ARRAY_H