Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow using snprintf() instead of sprintf() in wrappers | Olly Betts | 2023-04-27 | 1 | -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 Marchetto | 2014-09-29 | 1 | -8/+8 |
| | |||||
* | scilab: fix overload_arrays test and arrays typechecks | Simon Marchetto | 2014-03-31 | 1 | -0/+3 |
| | |||||
* | scilab: implement and fix test array_member | Simon Marchetto | 2014-03-19 | 1 | -0/+2 |
| | |||||
* | scilab: refactor arrays_typemap | Simon Marchetto | 2014-03-18 | 1 | -143/+45 |
| | |||||
* | scilab: fix arrays_global (<> => isequal) | Simon Marchetto | 2014-03-17 | 1 | -4/+4 |
| | |||||
* | scilab: check overflow in array typemaps | Simon Marchetto | 2014-03-11 | 1 | -4/+15 |
| | |||||
* | scilab: fix int array typemaps: accept in input and return by default double ↵ | Simon Marchetto | 2014-03-05 | 1 | -25/+25 |
| | | | | matrixes | ||||
* | scilab: move array typemaps in separate lib sciarray + add float array typemaps | Simon Marchetto | 2014-03-04 | 1 | -0/+197 |