Apply patch #3571029 which adds missing director support for const unsigned long long &.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-12-09 20:49:28 +00:00
commit 5e507b82f1
2 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,9 @@ Version 2.0.9 (in progress)
2012-12-08: wsfulton 2012-12-08: wsfulton
[Perl] Fix bug #3571361 - C++ comment in C wrappers. [Perl] Fix bug #3571361 - C++ comment in C wrappers.
2012-12-07: wsfulton
[C#] Apply patch #3571029 which adds missing director support for const unsigned long long &.
2012-11-28: kwwette 2012-11-28: kwwette
[Octave] Simplified module loading: now just the syntax [Octave] Simplified module loading: now just the syntax
$ example; $ example;

View file

@ -291,6 +291,7 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
const long &, const long &,
const unsigned long &, const unsigned long &,
const long long &, const long long &,
const unsigned long long &,
const float &, const float &,
const double & const double &
%{ static $*1_ltype temp; %{ static $*1_ltype temp;
@ -308,6 +309,7 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
%typemap(directorin) const long & "$input = $1;" %typemap(directorin) const long & "$input = $1;"
%typemap(directorin) const unsigned long & "$input = $1;" %typemap(directorin) const unsigned long & "$input = $1;"
%typemap(directorin) const long long & "$input = $1;" %typemap(directorin) const long long & "$input = $1;"
%typemap(directorin) const unsigned long long & "$input = $1;"
%typemap(directorin) const float & "$input = $1;" %typemap(directorin) const float & "$input = $1;"
%typemap(directorin) const double & "$input = $1;" %typemap(directorin) const double & "$input = $1;"
@ -321,6 +323,7 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
const long & ($*1_ltype temp), const long & ($*1_ltype temp),
const unsigned long & ($*1_ltype temp), const unsigned long & ($*1_ltype temp),
const long long & ($*1_ltype temp), const long long & ($*1_ltype temp),
const unsigned long long & ($*1_ltype temp),
const float & ($*1_ltype temp), const float & ($*1_ltype temp),
const double & ($*1_ltype temp) const double & ($*1_ltype temp)
"$iminput" "$iminput"
@ -335,6 +338,7 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
const long & ($*1_ltype temp), const long & ($*1_ltype temp),
const unsigned long & ($*1_ltype temp), const unsigned long & ($*1_ltype temp),
const long long & ($*1_ltype temp), const long long & ($*1_ltype temp),
const unsigned long long & ($*1_ltype temp),
const float & ($*1_ltype temp), const float & ($*1_ltype temp),
const double & ($*1_ltype temp) const double & ($*1_ltype temp)
"$cscall" "$cscall"