aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/libc/limits.pxd
blob: ed035e91fc4d381c9a8ee3ff153503323aee63be (plain) (blame)
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
# 5.2.4.2.1 Sizes of integer types <limits.h>

cdef extern from "<limits.h>": 
    const int CHAR_BIT
    const int MB_LEN_MAX

    const char CHAR_MIN
    const char CHAR_MAX

    const signed char SCHAR_MIN
    const signed char SCHAR_MAX
    const unsigned char UCHAR_MAX

    const short SHRT_MIN
    const short SHRT_MAX
    const unsigned short USHRT_MAX

    const int INT_MIN
    const int INT_MAX
    const unsigned int UINT_MAX

    const long LONG_MIN
    const long LONG_MAX
    const unsigned long ULONG_MAX

    const long long LLONG_MIN
    const long long LLONG_MAX
    const unsigned long long ULLONG_MAX