Revert "Merge pull request #853 from ivannp/underscores"
This reverts commita964098754, reversing changes made tobda3a11f9e. SWIG should only provide default operator names that provide special standard or conventional meaning in the target language.
This commit is contained in:
parent
3dfb2298a8
commit
f9158e525f
4 changed files with 38 additions and 68 deletions
|
|
@ -31,14 +31,6 @@ print("Here is their current position:")
|
|||
sprintf(" Circle = (%f, %f)", circle$x,circle$y)
|
||||
sprintf(" Square = (%f, %f)", square$x,square$y)
|
||||
|
||||
c2 <- Circle(1, 5, 15)
|
||||
c1 <- circle
|
||||
c1$move(1, 5)
|
||||
print(Circle_MemberEq(c1, c2))
|
||||
print(Circle_MemberNotEq(c1, c2))
|
||||
|
||||
print(c1$MemberEq(c2))
|
||||
|
||||
# ----- Call some methods -----
|
||||
|
||||
print ("Here are some properties of the shapes:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue