blob: ed3a4fc43e42df0c98a8380802ffdf4afb97662a (
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
27
28
29
30
|
from awlsim.common.cython_support cimport *
from awlsim.core.memory cimport *
from awlsim.core.offset cimport *
cdef class AwlStructField(object):
cdef public object name
cdef public AwlOffset offset
cdef public object dataType
cdef public object initBytes
cdef public AwlStructField override
cdef public AwlStructField finalOverride
cdef public uint32_t bitSize
cdef public uint32_t byteSize
cdef public _Bool compound
cdef public _Bool callByRef
cdef __eq(self, other)
cdef class AwlStruct(object):
cdef public list fields
cdef public dict name2field
cdef __eq(self, other)
cdef class AwlStructInstance(object):
cdef public AwlStruct _struct
cdef public AwlMemory memory
cdef object getFieldData(self, AwlStructField field, AwlOffset baseOffset)
cdef setFieldData(self, AwlStructField field, object value, AwlOffset baseOffset)
|