From: Bruno Luong on
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hsv2ot$rh0$1(a)fred.mathworks.com>...
> Dear Bruno!
>
> You can use mwSignedIndex for signed pointer operations. This is ptrdiff_t for the largeArrayDims mode, and as far as I can see, this is equal to ssize_t.

Hi Jan,

Great, that's very useful information and help a lot. I convert now the type to mwSignedIndex.

I have few places in my codewhere I assumed the type is signed, and obviously I shouldn't declare it as mwSize or mwIndex.

It's hard to know what is documented what is not (beside few stuff in Yair's webpage).

Bruno