aboutsummaryrefslogtreecommitdiff
path: root/lldb/bindings/interface/SBScriptObjectExtensions.i
blob: 35cbe641e90647adac39230671b53fa5889dd522 (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
%extend lldb::SBScriptObject {
#ifdef SWIGPYTHON
    %pythoncode %{
        def __eq__(self, other):
            return not self.__ne__(other)

        def __int__(self):
            pass

        def __hex__(self):
            pass

        def __oct__(self):
            pass

        def __len__(self):
            pass

        def __iter__(self):
            pass

        ptr = property(GetPointer, None, doc='''A read only property that returns the underlying script object.''')
        lang = property(GetLanguage, None, doc='''A read only property that returns the script language associated with with this script object.''')
    %}
#endif
}