swig
swig copied to clipboard
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Certain parts of the MATLAB module needs to be cleaned up for maintainability: - [ ] The implementation of several helper functions are currently implemented as multiple lines with a...
I wasn't aware of the "No Input Argument Constructor Requirement" in MATLAB, but it could be pretty useful in the context of SWIG, cf. http://es.mathworks.com/help/matlab/matlab_oop/class-constructor-methods.html#btn2kiy This would motivate getting rid...
The following test works for MATLAB, but not Octave: ``` checking matlab testcase director_default ERROR: director_defaultMEX: No matching function for overload function 'new_Foo' . Possible C/C++ prototypes are: Foo::Foo(mxArray *,int)...
It looks like SWIG-MATLAB tries to wrap a default constructor that doesn't exist: ``` checking matlab testcase array_typedef_memberin Building with 'Xcode Clang++'. /Users/jaeandersson/dev/swig/build/Examples/test-suite/matlab/array_typedef_memberin_wrap.cxx:1612:47: error: call to implicitly-deleted default constructor of...
Default interface file `example_wrap.cxx` is cpp format. This means the compiler is expecting manged function name (i.e. `"int __cdecl gcd(int,int)"` instead of `"int gcd(int,int)"`). The default version triggers a LNK2019...
matlab chokes when two super classes define the same (virtual) function, but the class itself hasn't defined it. demo code in https://github.com/jaeandersson/swig/pull/4
I realized that `swig_this` (cf. #6) can be made to work quite easily. The corresponding member function just needs to be added to the classes inheriting directly from `SwigRef` instead...
The typemaps for `std::vector` and `std::map` do not work properly. For my own project, I have redefined these typemaps, so this is not really an issue for me, but we...