aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/libc/limits.pxd
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/tools/cython/Cython/Includes/libc/limits.pxd
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libc/limits.pxd')
-rw-r--r--contrib/tools/cython/Cython/Includes/libc/limits.pxd28
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libc/limits.pxd b/contrib/tools/cython/Cython/Includes/libc/limits.pxd
new file mode 100644
index 0000000000..39d10a1ff9
--- /dev/null
+++ b/contrib/tools/cython/Cython/Includes/libc/limits.pxd
@@ -0,0 +1,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