diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2014-05-11 22:09:52 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2014-05-11 22:09:52 +0100 |
commit | 3525014850e3800ac7b28fd34e7f7af427f1c620 (patch) | |
tree | 3d1b8a17b86cfa9af178ceb818a4dc9daf52a46b /bindings/swig/treekeyidx.i |
sword (1.7.2+dfsg-2) unstable; urgency=medium
* Correct shared library symlink. (Closes: #747420)
# imported from the archive
Diffstat (limited to 'bindings/swig/treekeyidx.i')
-rw-r--r-- | bindings/swig/treekeyidx.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bindings/swig/treekeyidx.i b/bindings/swig/treekeyidx.i new file mode 100644 index 0000000..16e332d --- /dev/null +++ b/bindings/swig/treekeyidx.i @@ -0,0 +1,11 @@ +%{ +#include "treekeyidx.h" +%} + +%include "treekeyidx.h" + +%extend sword::TreeKeyIdx { + static sword::TreeKeyIdx *castTo(sword::SWKey *o) { + return dynamic_cast<sword::TreeKeyIdx*>(o); + } +} |