comparison libinterp/interp-core/mxarray.in.h @ 15240:a23693fa5ba9

Add mwSignedIndex type for better mex compatibility with Matlab (bug #37133) mxarray.in.h: Add mwSignedIndex type which is a typedef for OCTAVE_IDX_TYPE.
author Rik <rik@octave.org>
date Sun, 26 Aug 2012 21:41:28 -0700
parents 2fc554ffbc28
children a291f850743c
comparison
equal deleted inserted replaced
15239:a38d5ed5b3d8 15240:a23693fa5ba9
86 * mex is used with the -largearraydims flag, but why do that? Its better 86 * mex is used with the -largearraydims flag, but why do that? Its better
87 * to conform to the same indexing as the rest of Octave 87 * to conform to the same indexing as the rest of Octave
88 */ 88 */
89 typedef %OCTAVE_IDX_TYPE% mwSize; 89 typedef %OCTAVE_IDX_TYPE% mwSize;
90 typedef %OCTAVE_IDX_TYPE% mwIndex; 90 typedef %OCTAVE_IDX_TYPE% mwIndex;
91 typedef %OCTAVE_IDX_TYPE% mwSignedIndex;
91 92
92 #if ! defined (MXARRAY_TYPEDEFS_ONLY) 93 #if ! defined (MXARRAY_TYPEDEFS_ONLY)
93 94
94 #include <cstring> 95 #include <cstring>
95 96