Added a string to the argument list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ce5e38367c
commit
1ea3104707
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ print " Square = (" . $s->x . "," . $s->y . ")\n";
|
|||
# ----- Call some methods -----
|
||||
|
||||
print "\nHere are some properties of the shapes:\n";
|
||||
foreach (array(1,2.1,$c,$s) as $o) {
|
||||
foreach (array(1,2.1,"3.6",$c,$s) as $o) {
|
||||
print " ".get_class($o)." $o\n";
|
||||
print " overloaded= " . overloaded($o) . "\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue