git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
9 lines
115 B
Python
9 lines
115 B
Python
from fvirtual import *
|
|
|
|
sw = Switch()
|
|
n = Node()
|
|
i = sw.addChild(n);
|
|
|
|
if i != 2:
|
|
raise RuntimeError, "addChild"
|
|
|