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.
MATLAB's multiple dispatch works differently from a member function in C++. If you wrap a class such as (i): ``` c++ struct foo { double v_; foo (double v) :...
I do image processing and want to use this SWIG to exchange multidimensional mex arrays (matrices) to carrays or something similar. I want to either process them in-place (without copying)...
The MATLAB int64 type is quite rarely used in practise. If you call `numel(zeros(3))` or `shape(zeros(3))` you'll get a double and a vector of doubles respectively. Therefore, it makes sense...
Title pretty much says it all. Probably need to do some documentation before merging to swig/swig.
The user should be warned if trying to define symbols with conflicting names due to the requirement of one file per global variable/function. This can be done using `WARN_LANG_PORTABILITY_FILENAME`.