blob: f6ffc82f3a99ecd7aa499b70e9a64f12d792c078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from awlsim.common.cython_support cimport *
from awlsim.core.blocks cimport *
from awlsim.core.datastructure cimport *
from awlsim.core.offset cimport *
from awlsim.core.operators cimport *
cdef class DB(Block):
cdef public uint32_t _PERM_READ
cdef public uint32_t _PERM_WRITE
cdef public uint32_t permissions
cdef public object codeBlock
cdef public AwlStruct __struct
cdef public AwlStructInstance structInstance
cdef object fetch(self, AwlOperator operator, AwlOffset baseOffset)
cdef store(self, AwlOperator operator, object value, AwlOffset baseOffset)
|