summaryrefslogtreecommitdiff
path: root/bindings/swig/package/swcom.i
blob: 90291cf824ce9846fef67060cb3c20ee68b8e7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%{
#include "swcom.h"
%}

%ignore sword::SWCom::SWCom;

%include "swcom.h"

%extend sword::SWCom {
	/* C++-style cast */
	static sword::SWCom *castTo(sword::SWModule *o) {
		return dynamic_cast<sword::SWCom*>(o);
	}
}