Commit graph

83 commits

Author SHA1 Message Date
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
96ba677aa2 Add typemaps for STL sets (supports set<int>) 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
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
Yung Lee
dc852580d1 Fix bug in scilab\matrix.i 2013-04-29 20:22:12 +08:00
Yung Lee
604ebe8ad3 Add C++ conditional macro in scirun.swg 2013-04-29 20:20:19 +08:00
Yung Lee
680374f251 Redefine SWIG_Error and add testing code in examples\scilab\contract 2013-04-29 20:16:36 +08:00
Yung Lee
e22184553a Replace MALLOC/FREE to malloc/free fot fix heap memory leak error on Win/VC++ 2013-04-29 20:13:22 +08:00
Vincent Couvert
6138b43d7b Better vector/C++ containers support for Scilab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-24 15:06:40 +00:00
Vincent Couvert
28565a5b65 Better management of containers based on Octave one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 16:17:10 +00:00
Vincent Couvert
53b2b4405d Update tests & examples after Scilab API modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 11:31:47 +00:00
Sylvestre Ledru
1d19873227 Update previous syntax to the latest. LhsVar => AssignOutputVariable + Rhs => nbInputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:07:08 +00:00
Vincent Couvert
f21628914a One more step to make 'vector' example work for Scilab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 19:39:54 +00:00
Vincent Couvert
b5d0f09255 Remove old deprecated include file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 15:26:53 +00:00
Vincent Couvert
eb64659740 Start vector management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-22 11:10:34 +00:00
Vincent Couvert
e6c064e209 Make li_std_*.cpptest work, thanks to Tcl example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-30 14:00:48 +00:00
Vincent Couvert
b64c8e753e Make dynamic_cast.cpptest work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-30 13:46:03 +00:00
Vincent Couvert
2535e9ae2f Rename function: SwigScilabDoubleFromDouble -> SWIG_SciDouble_FromDouble
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-26 09:15:08 +00:00
Vincent Couvert
f7107bfea8 Vectors ...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:48:02 +00:00
Vincent Couvert
d986076564 Better alloc management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:47:40 +00:00
Vincent Couvert
90390d80d7 Add missing typecheck for boolean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:46:53 +00:00
Vincent Couvert
082e751178 Use temp int value to read boolean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:46:03 +00:00
Vincent Couvert
8c5a1ac5f9 Back to previous version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 09:14:14 +00:00
Vincent Couvert
a8b8b6c5d4 * New version for Scilab module using fragments
* A C and CPP tests generate and compile except tests using vectors (to be done)



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:34:46 +00:00
Vincent Couvert
dca46d044f New test for strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-31 12:30:12 +00:00
Vincent Couvert
f209d5a409 Implement SWIG_From_long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-24 09:57:21 +00:00
Vincent Couvert
5cd249c330 Change mapping for C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:38:11 +00:00
Vincent Couvert
ba4a32e059 Implement SWIG_AsVal_long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:37:30 +00:00
Vincent Couvert
454b1c8ab6 Add tests + small modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 13:14:32 +00:00
Vincent Couvert
f961981748 Make abstract_access test work and clean functionWrapper in scilab.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 08:59:37 +00:00
Vincent Couvert
ee812c1c86 Many modifications needed to make allprotected test work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 16:00:08 +00:00
Vincent Couvert
adcb79c680 Needed by some tests and avoid the use of obsolete exception.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:58:53 +00:00
Vincent Couvert
7c0ef6b047 Wrong macro end
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 15:31:15 +00:00
Vincent Couvert
b37103d50c Factorization & cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 12:29:09 +00:00
Vincent Couvert
fe0f1a5331 Factorize code + add Scilab typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:44:24 +00:00
Vincent Couvert
cab6722925 Missing iPrec variable declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-23 16:15:12 +00:00
Vincent Couvert
95bb883090 Factorize code with macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-23 16:13:42 +00:00
Sylvestre Ledru
d5e7f909fd add a comment to not forget these bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-22 16:06:16 +00:00
Vincent Couvert
64bb416577 Add new test and make it work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 12:38:34 +00:00