Simon Marchetto
14eebbf013
scilab: fix SWIG_Scilab_ErrorMsg(): use Scierror() instead of sciprint()
2014-02-14 15:13:40 +01:00
Simon Marchetto
d004632db5
scilab: typecheck for enum
2014-02-14 14:12:01 +01:00
Simon Marchetto
9a8b1207ca
scilab: fix scilab_enums test: enum returned as double, and enum value computing
2014-02-11 16:28:57 +01:00
Simon Marchetto
680f101717
scilab: fix enum typemap, enum was not returned
2014-02-11 16:24:08 +01:00
Simon Marchetto
f624025e48
scilab: From typemaps do not have to return output argument position
2014-02-11 10:06:15 +01:00
Simon Marchetto
af94aa91e7
scilab: fix compilation error in 5.3.3
2014-02-10 10:24:46 +01:00
Simon Marchetto
dd4547acc7
scilab: fix long long typemap comment
2014-02-07 18:18:25 +01:00
Simon Marchetto
90c4cb2c26
scilab: small refactoring of scienum.swg
2014-02-07 17:29:18 +01:00
Simon Marchetto
3607b2db10
scilab: fix (check integer type) and optimize typecheck typemaps
2014-02-07 16:38:15 +01:00
Simon Marchetto
c47456a9bb
scilab:implement li_typemaps test (library typemaps.i test)
2014-02-07 12:23:39 +01:00
Simon Marchetto
ccab675c57
scilab: check value and overflow errors in integer typemaps
2014-02-07 11:53:19 +01:00
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
Sylvestre Ledru
228b7d9a6c
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
2013-09-13 10:03:56 +02:00
Sylvestre Ledru
7a88729c87
Remove trailing spaces in the generated code.
...
No functional changes
2013-09-13 10:02:39 +02:00
Sylvestre Ledru
2374ff914d
Remove trailing spaces in the generated code
2013-09-13 09:50:21 +02:00
Sylvestre Ledru
9c5bac9887
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
2013-09-13 09:18:06 +02:00
Artem Serebriyskiy
c3f3880d0c
Lua static member access improvements.
...
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.
Code is loosely based upon python implemenation of the same thing.
Patch #62 .
2013-09-12 21:32:26 +01:00
William S Fulton
a91cd0bc5c
Infinity is now by default an acceptable value for type 'float'.
...
This fix makes the handling of type 'float' and 'double' the same. The implementation requires the
C99 isfinite() macro, or otherwise some platform dependent equivalents, to be available.
2013-09-12 07:28:12 +01: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
William S Fulton
678058dbc7
Revert non-scilab changes: Octave modifications
2013-08-30 19:07:10 +01:00