Commit graph

69 commits

Author SHA1 Message Date
Simon Marchetto
84f1e3d3e2 Scilab: std_vector_as_argument example converted to test 2013-09-06 18:34:57 +02:00
Simon Marchetto
91e4114827 Scilab: enum example is consistent with other languages 2013-09-06 15:42:31 +02:00
Simon Marchetto
06617dbd0b Scilab: constants example consistent with other languages 2013-09-06 15:33:58 +02:00
Simon Marchetto
7a81f55ac9 Scilab: take in account TARGET in example makefile, fix target in examples sub makefiles 2013-09-04 14:53:14 +02:00
Simon Marchetto
698e399717 Scilab: add %scilabconst in enum example 2013-09-02 11:06:01 +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
William S Fulton
05cc859d38 Scilab example Makefiles update.
Make consistent with other languages.
Output is also suppressed when run from top level directory - see
RUNPIPE.
2013-08-30 23:53:57 +01:00
William S Fulton
9b51d7d869 Example makefile tidy up 2013-08-30 22:14:21 +01:00
Simon Marchetto
fa166983aa Scilab: remove unneeded examples from check list 2013-08-21 14:37:35 +02:00
Simon Marchetto
7a0aaa39b3 Scilab: add STL list example in check list 2013-08-20 10:26:56 +02:00
Simon Marchetto
62b61b5349 Scilab: fix examples (no paging which stops tests) 2013-08-20 10:26:08 +02:00
Simon Marchetto
255603639f Scilab: rollback, support of container<class*> only (not <class>) 2013-07-31 18:28:23 +02:00
Simon Marchetto
16d45620ba Scilab: fix example check list 2013-07-22 17:57:30 +02:00
Simon Marchetto
f7b67980e6 Scilab: fix some example scripts (missing exit) 2013-07-22 17:57:30 +02:00
Simon Marchetto
2ce2862472 Scilab: fix some example makefiles (restore target check) 2013-07-22 17:53:00 +02:00
Simon Marchetto
111c1eb538 Scilab: add vector<class> in STL vector example 2013-07-22 17:39:01 +02:00
Simon Marchetto
ef48783589 Scilab: add STL list example 2013-07-19 18:01:18 +02:00
Simon Marchetto
ca282beae6 Scilab: add bool type in STL vector example 2013-07-19 17:31:59 +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
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
d1beaef1ba Scilab: improve STL vector example (test all argument passing modes) 2013-06-20 18:21:23 +02:00
Simon Marchetto
9bdeb67312 Scilab: update STL vector example with vector<string> 2013-06-20 11:38:14 +02:00
Simon Marchetto
8ca085b528 Scilab: update matrix2 example (with int & string matrix conversion) 2013-06-20 10:55:05 +02:00
Simon Marchetto
2e7a435440 Add example for STL sets 2013-06-03 17:20:10 +02:00
Simon Marchetto
a61d829676 Fix example for STL vectors 2013-06-03 17:20:09 +02:00
Simon Marchetto
a9f366b142 Fix matrix example 2013-06-03 17:20:08 +02:00
Simon Marchetto
0ac03d9fe9 New example for templates 2013-06-03 17:20:04 +02:00
Yung Lee
25df4f9f01 Remove duplicate line 2013-04-30 19:19:02 +08:00
Yung Lee
ff10bf04b8 Update testing code in examples/scilab/matrix2 2013-04-29 20:23:04 +08:00
Yung Lee
680374f251 Redefine SWIG_Error and add testing code in examples\scilab\contract 2013-04-29 20:16:36 +08:00
Vincent Couvert
0d7be20f79 New version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 16:17:36 +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
4db1f7564e api_scilab.h is now enough
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:36:32 +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
Sylvestre Ledru
efcb2aebed CheckRhs => CheckInputArgument + CheckLhs => CheckOutputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:02:14 +00:00
Vincent Couvert
aef5a8062f Remove generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 20:03:22 +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
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
6db40d8378 Remove useless space
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:30:01 +00:00
Vincent Couvert
8febd3e62b Update example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 12:31:21 +00:00
Vincent Couvert
d33006076f Fix typo + test write access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-12 06:50:15 +00:00
Baozeng Ding
e16a959732 fix matrix input issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-15 11:57:06 +00:00
Baozeng Ding
7f778391e7 some fixes about example matrix2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-14 01:36:40 +00:00
Baozeng Ding
38f4edcdac fix some small thing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-04 02:20:29 +00:00
Baozeng Ding
57c3d28aaf some missing features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-02 07:55:17 +00:00
Baozeng Ding
613d1a1a8d add matrix.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-03 11:39:17 +00:00
Baozeng Ding
9e57bfd84a removing the file 'builder.sce'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-01 01:41:07 +00:00
Baozeng Ding
c31100860e add the missing file of matrix2 example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-28 02:32:14 +00:00