summaryrefslogtreecommitdiff
path: root/src/ints/wrap.py
blob: d5a6e99c52a2b61f3d96646b224c7c9a756582c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Wrapped(object):
    __slots__ = ('_value')
    name = 'tmwa::ints::wrapped::Wrapped'
    enabled = True

    def __init__(self, value):
        self._value = value

    def to_string(self):
        return self._value['_value']

    test_extra = '''
    void do_breakpoint();
    void do_breakpoint() {}
    '''

    # tests are in src/mmo/ids.py instead
    tests = []