summaryrefslogtreecommitdiff
path: root/Lib/scilab/sciarray.swg
Commit message (Collapse)AuthorAgeFilesLines
* Allow using snprintf() instead of sprintf() in wrappersOlly Betts2023-04-271-2/+2
| | | | | | | | | | | | | | | | | | | We aim to produce code that works with C90 or C++98 so we can't assume snprintf() is available, but it almost always is (even on systems from before it was standardised) so having a way to use it is helpful. Enable this automatically if the compiler claims conformance with at least C90 or C++98 and check SWIG_HAVE_SNPRINTF to allow turning on manually, but disable if SWIG_NO_SNPRINTF if defined. The fallback is to call sprintf() without a buffer size check - checking after the call is really shutting the stable door after the horse has bolted, and most of our uses either have a fixed maximum possible size or dynamically allocate a buffer that's large enough. Fixes: #2502 (sprintf deprecation warnings on macos) Fixes: #2548
* scilab: fix int typemaps (functions and fragment names)Simon Marchetto2014-09-291-8/+8
|
* scilab: fix overload_arrays test and arrays typechecksSimon Marchetto2014-03-311-0/+3
|
* scilab: implement and fix test array_memberSimon Marchetto2014-03-191-0/+2
|
* scilab: refactor arrays_typemapSimon Marchetto2014-03-181-143/+45
|
* scilab: fix arrays_global (<> => isequal)Simon Marchetto2014-03-171-4/+4
|
* scilab: check overflow in array typemapsSimon Marchetto2014-03-111-4/+15
|
* scilab: fix int array typemaps: accept in input and return by default double ↵Simon Marchetto2014-03-051-25/+25
| | | | matrixes
* scilab: move array typemaps in separate lib sciarray + add float array typemapsSimon Marchetto2014-03-041-0/+197