gateway dynamic link does not work for MACOSX 10,12
Reported by Vincent Belaïche
BUG DESCRIPTION:
----------------
I tried to build a gateway for some C function, but it did not work. The compilation process went through w/o any problem or compilation errors, but after loading I get some error that the number of input argument is wrong. I modified the code to trace the number of input argument that the gateway function actually sees, and it is some nonsensical very big value. I tried to do the same With the foo6 sample code given in manual page:
Aide de Scilab >> API Scilab > Getting started with API_Scilab
and I got the same issue.
BTW, I tried to have a look at SCI+'contrib/toolbox_skeleton/sci_gateway/c/sci_foo.c' and the code is different from what is documented in the manual, it seems to use the legacy API and not the new one.