Adapt overload example to reflect changes in module.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Oliver Buchtala 2012-09-08 01:03:17 +00:00
commit 672208d8d2
2 changed files with 3 additions and 7 deletions

View file

@ -11,10 +11,6 @@
for dispatching.
To solve the problem one has to rename such conflicting methods.
*/
%rename(f_string) f(const char* s);
%rename(f_bool) f(bool val);
%rename(f_long) f(long val);
%rename(f_double) f(double val);
%include "example.h"

View file

@ -1,7 +1,7 @@
example.f();
example.f(1);
example.f(1, 2);
example.f_string("bla");
example.f_bool(false);
example.f_long(11111111111);
example.f("bla");
example.f(false);
example.f(11111111111);
example.f_double(1.0);