blob: deaeac23d04efe99ab393f5215cb487db99437be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
%{
#include "listkey.h"
%}
%ignore sword::ListKey::operator<<;
%ignore sword::ListKey::ClearList;
%ignore sword::ListKey::Count;
%ignore sword::ListKey::Remove;
%ignore sword::ListKey::SetToElement;
%ignore sword::ListKey::GetElement;
%include "listkey.h"
/*
%extend {
virtual char SetToElement(int element) {
return self->SetToElement(element, TOP);
};
}
*/
%extend sword::ListKey {
static sword::ListKey *castTo(sword::SWKey *o) {
return dynamic_cast<sword::ListKey*>(o);
}
}
|