Skip to content

Commit 14b4c47

Browse files
committed
Add comment
1 parent 1f180a6 commit 14b4c47

File tree

1 file changed

+4
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/base/napi/addon-arguments/src

1 file changed

+4
-0
lines changed

lib/node_modules/@stdlib/ndarray/base/napi/addon-arguments/src/main.c

+4
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ napi_status stdlib_ndarray_napi_addon_arguments( const napi_env env, const napi_
140140
ptr += 8;
141141
int8_t *submodes = (int8_t *)ptr;
142142

143+
// FIXME: the following is commented out, as we don't yet do anything with serialized flags (e.g., read-only flag, etc); once flags are supported, this comment should be removed and the following uncommented...
144+
// ptr += nsubmodes * 1;
145+
// int32_t *flags = (int32_t *)ptr;
146+
143147
// Allocate a new ndarray:
144148
struct ndarray *arr = stdlib_ndarray_allocate( dtype, data, ndims, shape, strides, offset, order, imode, nsubmodes, submodes );
145149
if ( arr == NULL ) {

0 commit comments

Comments
 (0)