summaryrefslogtreecommitdiffstats
path: root/awlsim/common/cython_support.pxd.in
blob: 6d285550b0fdc574b42dcd93a591525b0abdaa88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Get all stdint types.
from libc.stdint cimport *

# Boolean type. The values 0 and 1 can be used.
ctypedef bint		_Bool

# Extended boolean type for use as return type from
# functions that can raise exceptions.
# The values 0 and 1 can be used.
# An exception is encoded as special value ExBool_val.
ctypedef signed int	ExBool_t
cdef enum:		ExBool_val = -1
bues.ch cgit interface