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:
parent
cbb5b711ab
commit
672208d8d2
2 changed files with 3 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue