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