fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f7ae968d6b
commit
df9fa977a8
9 changed files with 258 additions and 38 deletions
|
|
@ -18,3 +18,14 @@ if a.pong != "Foo::pong();MyFoo::ping()"
|
|||
end
|
||||
|
||||
|
||||
class MyExample1 < Director_abstract::Example1
|
||||
def color(r,g,b)
|
||||
r
|
||||
end
|
||||
end
|
||||
|
||||
#m1 = MyExample1.new
|
||||
#
|
||||
#if m1.color(1,2,3) != 1
|
||||
# raise RuntimeError, m1.color
|
||||
#end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue