changeset 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 a38d5ed5b3d8
children 2cdace1ba287
files libinterp/interp-core/mxarray.in.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)