Fix ~15 tests, minor doc fixes, improve STL support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
25fd00698b
commit
4d283f59c3
32 changed files with 744 additions and 522 deletions
|
|
@ -2,7 +2,7 @@ template_default_arg
|
|||
|
||||
|
||||
helloInt = template_default_arg.Hello_int();
|
||||
helloInt.foo(template_default_arg.Hello_int.hi);
|
||||
helloInt.foo(template_default_arg.Hello_int_hi);
|
||||
|
||||
|
||||
x = template_default_arg.X_int();
|
||||
|
|
@ -18,7 +18,7 @@ endif
|
|||
|
||||
|
||||
|
||||
y = template_default_arg.Y_unsigned()
|
||||
y = template_default_arg.Y_unsigned();
|
||||
if (y.meth(20.0, 200) != 200)
|
||||
error("Y_unsigned test 1 failed")
|
||||
endif
|
||||
|
|
@ -33,7 +33,7 @@ endif
|
|||
|
||||
x = template_default_arg.X_longlong();
|
||||
x = template_default_arg.X_longlong(20.0);
|
||||
x = template_default_arg.X_longlong(20.0, 200L);
|
||||
x = template_default_arg.X_longlong(20.0, 200);
|
||||
|
||||
|
||||
x = template_default_arg.X_int();
|
||||
|
|
@ -49,7 +49,7 @@ x = template_default_arg.X_hello_unsigned(20.0, template_default_arg.Hello_int()
|
|||
y = template_default_arg.Y_hello_unsigned();
|
||||
y.meth(20.0, template_default_arg.Hello_int());
|
||||
y.meth(template_default_arg.Hello_int());
|
||||
y.meth()
|
||||
y.meth();
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue