#NEWLINE# def test( ) : #NEWLINE# #INDENT# 'Instantiate the SWIG wrapped object and then call its method\n    from C++ using weave.inline\n\n    ' #NEWLINE# a = swig2_ext . A ( ) #NEWLINE# b = swig2_ext . foo ( ) #NEWLINE# b . thisown = 1 #NEWLINE# code = 'a->f();\n              b->f();\n              ' #NEWLINE# weave . inline ( code , [ 'a' , 'b' ] , include_dirs = [ '.' ] , headers = [ '"swig2_ext.h"' ] , verbose = 1 )