diff 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
line wrap: on
line diff
--- a/libinterp/interp-core/mxarray.in.h
+++ b/libinterp/interp-core/mxarray.in.h
@@ -88,6 +88,7 @@
  */
 typedef %OCTAVE_IDX_TYPE% mwSize;
 typedef %OCTAVE_IDX_TYPE% mwIndex;
+typedef %OCTAVE_IDX_TYPE% mwSignedIndex;
 
 #if ! defined (MXARRAY_TYPEDEFS_ONLY)