Add array reference typemaps which are needed since the pointer reference typemaps were committed in the last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
929f68b069
commit
6054159ecf
1 changed files with 3 additions and 0 deletions
|
|
@ -343,6 +343,9 @@ parmeters match which function
|
||||||
* Others
|
* Others
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
// Array reference typemaps
|
||||||
|
%apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) }
|
||||||
|
|
||||||
// size_t (which is just a unsigned long)
|
// size_t (which is just a unsigned long)
|
||||||
%apply unsigned long { size_t };
|
%apply unsigned long { size_t };
|
||||||
%apply const unsigned long & { const size_t & };
|
%apply const unsigned long & { const size_t & };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue