Mercurial > octave
view .gitattributes @ 30223:b8841fcd28c8
combine calls to mxArray::malloc and mxArray::calloc in wrapper function
* mex.cc, mxarray.h (mxArray::alloc): New function that calls either
mxArray::malloc or mxArray::calloc depending on value of INIT
parameter. Use it to simplify allocation and initialization of arrays
in mxArray class constructors.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Sep 2021 15:41:21 -0400 |
parents | c6f9ff84dc84 |
children |