release 0.1.13
[liba.git] / python / src / a / __init__.pxd
blobde5610416aea18eef5deb738e11a035ddee82571
1 from libc.stddef cimport *
2 from libc.limits cimport *
3 from libc.stdint cimport *
4 from libc.float cimport *
6 cdef extern from "a/a.h":
7     void A_ASSUME(bint)
9     ctypedef  int8_t a_i8
10     ctypedef uint8_t a_u8
11     ctypedef  int16_t a_i16
12     ctypedef uint16_t a_u16
13     ctypedef  int32_t a_i32
14     ctypedef uint32_t a_u32
15     ctypedef  int64_t a_i64
16     ctypedef uint64_t a_u64
17     ctypedef  intmax_t a_imax
18     ctypedef uintmax_t a_umax
19     ctypedef  intptr_t a_iptr
20     ctypedef uintptr_t a_uptr
21     ctypedef ptrdiff_t a_diff
22     ctypedef    size_t a_size
24     ctypedef  float a_f32
25     ctypedef double a_f64
26     ctypedef double a_float
27     const a_float A_FLOAT_INF
28     const a_float A_FLOAT_NAN
29     const int A_FLOAT_SINGLE
30     const int A_FLOAT_DOUBLE
31     const int A_FLOAT_TYPE
33     a_u16 a_u16_getl(const void *b)
34     a_u16 a_u16_getb(const void *b)
35     void a_u16_setl(void *b, a_u16 x)
36     void a_u16_setb(void *b, a_u16 x)
37     a_u32 a_u32_getl(const void *b)
38     a_u32 a_u32_getb(const void *b)
39     void a_u32_setl(void *b, a_u32 x)
40     void a_u32_setb(void *b, a_u32 x)
41     a_u64 a_u64_getl(const void *b)
42     a_u64 a_u64_getb(const void *b)
43     void a_u64_setl(void *b, a_u64 x)
44     void a_u64_setb(void *b, a_u64 x)
46     a_u32 a_hash_bkdr(const char *str, a_u32 val)
47     a_u32 a_hash_sdbm(const char *str, a_u32 val)