diff options
Diffstat (limited to 'Examples/go/callback/example.i')
-rw-r--r-- | Examples/go/callback/example.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Examples/go/callback/example.i b/Examples/go/callback/example.i new file mode 100644 index 000000000..cf61ef9d2 --- /dev/null +++ b/Examples/go/callback/example.i @@ -0,0 +1,11 @@ +/* File : example.i */ +%module(directors="1") example +%{ +#include "example.h" +%} + +/* turn on director wrapping Callback */ +%feature("director") Callback; + +%include "example.h" + |