# HG changeset patch # User Rik # Date 1346042488 25200 # Node ID a23693fa5ba9739a7b881441bdd244636fd6114a # Parent a38d5ed5b3d894aa1812250b926f1490afd790cb 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. diff -r a38d5ed5b3d8 -r a23693fa5ba9 libinterp/interp-core/mxarray.in.h --- a/libinterp/interp-core/mxarray.in.h Sun Aug 26 20:06:19 2012 -0600 +++ b/libinterp/interp-core/mxarray.in.h Sun Aug 26 21:41:28 2012 -0700 @@ -88,6 +88,7 @@ */ typedef %OCTAVE_IDX_TYPE% mwSize; typedef %OCTAVE_IDX_TYPE% mwIndex; +typedef %OCTAVE_IDX_TYPE% mwSignedIndex; #if ! defined (MXARRAY_TYPEDEFS_ONLY)