diff options
Diffstat (limited to 'bindings/swig/rawcom.i')
-rw-r--r-- | bindings/swig/rawcom.i | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bindings/swig/rawcom.i b/bindings/swig/rawcom.i new file mode 100644 index 0000000..5e9c17b --- /dev/null +++ b/bindings/swig/rawcom.i @@ -0,0 +1,14 @@ +%{ +#include "rawcom.h" +%} + + +%include "rawcom.h" + + + +%extend sword::RawCom { + static sword::RawCom *castTo(sword::SWModule *o) { + return dynamic_cast<sword::RawCom*>(o); + } +} |