Commit graph

15,628 commits

Author SHA1 Message Date
Simon Marchetto
ca282beae6 Scilab: add bool type in STL vector example 2013-07-19 17:31:59 +02:00
Simon Marchetto
bc80012e0a Scilab: add support for STL bool containers 2013-07-19 17:29:10 +02:00
Simon Marchetto
1cf1e72e72 Scilab: update STL set example
Fixes:
- use generic support of STL set
- add example for set of string
2013-07-18 08:56:53 +02:00
Simon Marchetto
c66952a3f0 Scilab: add generic support for STL set 2013-07-18 08:56:48 +02:00
Simon Marchetto
28dd6985c2 Scilab: add STL simple vector example (available also for Python, Ruby...) 2013-07-18 08:56:44 +02:00
Simon Marchetto
2472fe492a Scilab: rewrite STL vector example (vector argument passing example)
Fixes:
- use generic support of vectors
- add vector of object example
- improve example messages
- simplify cpp code
- move example code to "std_vector" folder
2013-07-18 08:56:37 +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
1b26ad8b21 Scilab: added target in Examples makefile for debugging 2013-07-18 08:56:12 +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
d1beaef1ba Scilab: improve STL vector example (test all argument passing modes) 2013-06-20 18:21:23 +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
9bdeb67312 Scilab: update STL vector example with vector<string> 2013-06-20 11:38:14 +02:00
Simon Marchetto
8ee91b4352 Scilab: add support of STL vector<string> 2013-06-20 11:15:13 +02:00
Simon Marchetto
8ca085b528 Scilab: update matrix2 example (with int & string matrix conversion) 2013-06-20 10:55:05 +02:00
Simon Marchetto
e6af8948ef Scilab: add string matrix typemaps 2013-06-19 16:34:12 +02:00
Simon Marchetto
9b270b9f6a Scilab: fix matrix typemap parameter names 2013-06-19 16:28:57 +02:00
Simon Marchetto
347dee5cda Scilab: refactor SwigScilabStringToCharPtrAndSize (use String API getAllocatedString) 2013-06-19 16:10:24 +02:00
Simon Marchetto
1efaa1ae67 Scilab: refactor SwigScilabStringToCharPtr (use String API getAllocatedString()) 2013-06-19 16:10:23 +02:00
Simon Marchetto
6280dd2d1a Scilab: fix SWIG_FromCharPtr error 2013-06-19 16:10:23 +02:00
Simon Marchetto
f268b0564a Scilab: remove SwigScilabStringFromCharPtrAndSize (same as SwigScilabStringFromCharPtr) 2013-06-19 16:10:22 +02:00
Simon Marchetto
e42055dcc4 Scilab: fix SWIG_NewPointerObj & SWIG_NewFunctionPtrObj error 2013-06-19 09:35:50 +02:00
Simon Marchetto
eddbb8f59e Scilab: SWIG exception raise macro : rethrow exceptions 2013-06-19 09:35:42 +02:00
Simon Marchetto
e9437fe400 Scilab: fix test case li_boost_shared_ptr 2013-06-12 12:14:53 +02:00
Simon Marchetto
7c9163e48a Scilab: fix test case import_stl_b 2013-06-12 11:02:59 +02:00
Simon Marchetto
af03df97c4 Scilab: C++ operators not wrapped in Scilab yet, remove warnings 2013-06-12 11:01:46 +02:00
Simon Marchetto
4f2715a9ec Scilab: fix test case li_std_vector 2013-06-12 10:59:11 +02:00
Simon Marchetto
ffc1d1221a Scilab: fix test case autodoc 2013-06-11 18:01:16 +02:00
Simon Marchetto
45dbdb2776 Scilab: fix test case constructor_copy (and others)
Signed-off-by: Simon Marchetto <simon.marchetto@scilab-enterprises.com>
2013-06-11 16:46:38 +02:00
Simon Marchetto
bc73c5877d Scilab: fix test case typemap_variables 2013-06-10 11:01:17 +02:00
Simon Marchetto
c2b149cb0c Scilab: fix test case member_pointer 2013-06-10 10:59:32 +02:00
Simon Marchetto
2e7a435440 Add example for STL sets 2013-06-03 17:20:10 +02:00
Simon Marchetto
96ba677aa2 Add typemaps for STL sets (supports set<int>) 2013-06-03 17:20:09 +02:00
Simon Marchetto
a61d829676 Fix example for STL vectors 2013-06-03 17:20:09 +02:00
Simon Marchetto
c61f9b233d Fix STL vector typemaps (supports vector<int> and vector<double>) 2013-06-03 17:20:08 +02:00
Simon Marchetto
a9f366b142 Fix matrix example 2013-06-03 17:20:08 +02:00
Simon Marchetto
cf88d6a109 Add int matrix typemaps 2013-06-03 17:20:07 +02:00
Simon Marchetto
0531f30fea Fix double matrix typemaps (add some typemaps) + move code in separate file 2013-06-03 17:20:07 +02:00
Simon Marchetto
2847765ddf Fix int matrix typemap (accept empty matrix as input) 2013-06-03 17:20:06 +02:00
Simon Marchetto
46a234ed8f Fix int scalar typemap (do not base on double typemap) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e667d59ed9 Fix enum typemaps (now base on int conversion) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e2cc98ffc1 Add typemap for returning enum from function 2013-06-03 17:20:05 +02:00
Simon Marchetto
f48e95cb47 Fix compilation error 2013-06-03 17:20:05 +02:00
Simon Marchetto
e9dd482c83 swig --addsrc option: support several source files 2013-06-03 17:20:04 +02:00
Simon Marchetto
0ac03d9fe9 New example for templates 2013-06-03 17:20:04 +02:00
Sylvestre Ledru
0390648862 Merge pull request #43 from YungLee/gsoc2012-scilab
Gsoc2012 scilab
2013-05-29 06:20:04 -07:00
Yung Lee
d5b08c7c08 Recover parser.y and remove parser.c 2013-05-06 00:06:43 +08:00
Yung Lee
d0e790d4e1 Remove auto generated files 2013-05-01 13:29:04 +08:00
Yung Lee
25df4f9f01 Remove duplicate line 2013-04-30 19:19:02 +08:00