aboutsummaryrefslogtreecommitdiffstats
path: root/awlsim/core/offset.pxd.in
blob: 2c11981e61ac96074ad0f663f0e67ed7787ca83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from awlsim.common.cython_support cimport *

cdef class AwlOffset(object):
	cdef public int64_t byteOffset
	cdef public int32_t bitOffset

	cdef public int32_t dbNumber
	cdef public object dbName
	cdef public object identChain
	cdef public object fbNumber
	cdef public AwlOffset subOffset

	cpdef __eq(self, object other)

	cpdef AwlOffset dup(self)

	cpdef uint32_t toPointerValue(self)
	cpdef uint64_t toLongBitOffset(self)

cdef AwlOffset make_AwlOffset(int64_t byteOffset, int32_t bitOffset)
cdef AwlOffset make_AwlOffset_fromPointerValue(uint32_t value)
cdef AwlOffset make_AwlOffset_fromLongBitOffset(int64_t bitOffset)
bues.ch cgit interface