Commit graph

141 commits

Author SHA1 Message Date
Simon Marchetto
e8fd0e506e scilab: fix and optimize integer typemaps 2014-01-31 18:04:21 +01:00
Simon Marchetto
cfc9f1398e scilab: put size_t & ptrdiff_t typemaps in separate file 2014-01-31 18:04:21 +01:00
Simon Marchetto
e9d36b6bc2 scilab: refactor runtime code 2014-01-31 18:04:21 +01:00
Simon Marchetto
530704486d scilab: small clean 2014-01-31 18:04:20 +01:00
Simon Marchetto
9aa006e62b scilab: remove typemap useless stuff 2014-01-31 18:03:52 +01:00
Simon Marchetto
7f14aa583a scilab: optimize typemap AsInt 2014-01-31 18:03:52 +01:00
Simon Marchetto
a8d020f171 scilab: simplify 'from' integer typemaps: use createScalar* functions 2014-01-31 18:03:30 +01:00
Simon Marchetto
bca49968f1 scilab: fix ret_by_value test 2014-01-30 14:11:18 +01:00
Simon Marchetto
30f4336f59 scilab: use macro SWIG_NbInputArgument() instead of Rhs() 2014-01-30 11:58:02 +01:00
Simon Marchetto
a6f824a9a8 scilab: roll back on primitive typemaps: return Scilab double on signed integers 2014-01-30 11:00:47 +01:00
Simon Marchetto
ec2d851f4f scilab: move scilab preprocessor directive before includes 2014-01-29 10:55:20 +01:00
Simon Marchetto
c4f0003465 Scilab: fix compilation error 2013-11-15 12:05:47 +01:00
Simon Marchetto
9b9b9cb999 Scilab: fix scalar typemaps & separate "interface" from "implementation" 2013-10-10 14:50:51 +02:00
Simon Marchetto
fd92e9e72f Scilab: fix SWIG_Scilab_SetOutput (scilab version macro changed) 2013-10-09 17:09:11 +02:00
Simon Marchetto
626a1f5482 Scilab: use fname argument not global variable 2013-10-09 13:02:54 +02:00
Simon Marchetto
562c2d1a42 Scilab: fix compilation error on SWIG_SciInt32_FromSize 2013-10-09 13:01:16 +02:00
Simon Marchetto
8a3278ade2 Scilab: fix compilation error on createMatrixOfString 2013-10-09 12:58:04 +02:00
Simon Marchetto
8626d96aff Scilab: refactor enum typemap 2013-09-27 10:30:12 +02:00
Simon Marchetto
018134f96c Scilab: add fname parameter at typemap function (for consistency) 2013-09-27 10:22:25 +02:00
Simon Marchetto
32e1acfe4f Scilab: fix last commit 2013-09-27 10:04:33 +02:00
Simon Marchetto
4cf15d9c1e Scilab: fix scilab primitve typemaps 2013-09-26 16:54:55 +02:00
Simon Marchetto
9057101d70 Scilab: macro to check Scilab version 2013-09-26 16:16:02 +02:00
Simon Marchetto
caf2db6b8d Scilab: fix dynamic_cast test error 2013-09-24 11:39:55 +02:00
Simon Marchetto
c32449e131 Scilab: group together Scilab includes 2013-09-23 10:15:28 +02:00
Simon Marchetto
934fc9b37b Fix Iterators prefixes 2013-09-23 10:10:31 +02:00
Simon Marchetto
b7064539d0 Scilab: fix prefix SciObject 2013-09-23 09:57:12 +02:00
Simon Marchetto
77da84f549 Scilab: init function name SWIG_Init() changed to <module>_Init() 2013-09-18 10:24:47 +02:00
Simon Marchetto
5c5528981e Scilab: remove generated code compilation errors & warnings 2013-09-11 19:19:29 +02:00
Simon Marchetto
2610403d69 Scilab: consider int as default type for STL container of values (so it works for container of enums) 2013-09-02 11:06:00 +02:00
Simon Marchetto
ed135cb99c Scilab: wrap enums to Scilab variables (if %feature scilab:const") 2013-09-02 11:06:00 +02:00
Simon Marchetto
2cf606c638 Scilab: add %feature scilab:const (constants are wrapped by Scilab variables) 2013-09-02 10:59:48 +02:00
Simon Marchetto
fcfb90219e Scilab: list helper getScilabListAndSize() 2013-09-02 10:55:07 +02:00
Simon Marchetto
7655b6df6d Scilab: fix arrays_global test case 2013-08-21 14:35:48 +02:00
Simon Marchetto
0fc9e4d0a4 Scilab: support of Scilab 5.3.3 (api_scilab: Rhs, Lhs, ..) 2013-08-19 17:57:56 +02:00
Simon Marchetto
774dddca00 Scilab: fix li_std_vector & ignore_template_constructor test case
fix: return a runtime error for not supported type containers
2013-08-02 12:09:11 +02:00
Simon Marchetto
6735b9727f Scilab: fix arrays_global test_case 2013-07-31 18:28:45 +02:00
Simon Marchetto
255603639f Scilab: rollback, support of container<class*> only (not <class>) 2013-07-31 18:28:23 +02:00
Simon Marchetto
077e69a851 Scilab: fix SWIT_Init() close in C mode 2013-07-31 11:57:16 +02:00
Simon Marchetto
25ffa87cab Scilab: fix dynamic_cast test case
Close SWIG_Init() in Scilab executable.
2013-07-23 15:02:39 +02:00
Simon Marchetto
2ea501d488 Scilab: small typo fix 2013-07-22 17:39:25 +02:00
Simon Marchetto
c3992df0bb Scilab: support of containers of "complex type" values (like vector<class>) 2013-07-22 17:37:25 +02:00
Simon Marchetto
f09525bcd8 Scilab: add generic support for STL list 2013-07-19 17:59:49 +02:00
Simon Marchetto
bc80012e0a Scilab: add support for STL bool containers 2013-07-19 17:29:10 +02:00
Simon Marchetto
c66952a3f0 Scilab: add generic support for STL set 2013-07-18 08:56:48 +02:00
Simon Marchetto
983af237b0 Scilab: generic support for STL vector 2013-07-18 08:56:31 +02:00
Simon Marchetto
cdb6554fba Scilab: generic support for STL containers.
STL containers are mapped in Scilab as:
- for int, double, string: matrices (of int, or double, etc....)
- for other types (like pointers on objects): list of pointers
2013-07-18 08:56:24 +02:00
Simon Marchetto
3dd0ebdde9 Scilab: wrap SWIG_Init() function to initialize module SWIG types (needed for STL support) 2013-07-18 08:56:05 +02:00
Simon Marchetto
627e4002fe Scilab: small fix on int matrix typemap 2013-06-21 11:30:11 +02:00
Simon Marchetto
87e0005276 Scilab: reference passing default mode is INPUT (here fix for vectors) 2013-06-20 18:17:20 +02:00
Simon Marchetto
8ee91b4352 Scilab: add support of STL vector<string> 2013-06-20 11:15:13 +02:00