Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
42420560
Commit
42420560
authored
Sep 06, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ranked longness for stdint types.
parent
897071f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
28 deletions
+31
-28
Cython/Includes/libc/stdint.pxd
Cython/Includes/libc/stdint.pxd
+31
-28
No files found.
Cython/Includes/libc/stdint.pxd
View file @
42420560
# Longness only used for type promotion.
# Actual compile time size used for conversions.
# 7.18 Integer types <stdint.h>
cdef
extern
from
"stdint.h"
nogil
:
# 7.18.1 Integer types
# 7.18.1.1 Exact-width integer types
ctypedef
signed
int
int8_t
ctypedef
signed
int
int16_t
ctypedef
signed
int
int32_t
ctypedef
signed
int
int64_t
ctypedef
unsigned
int
uint8_t
ctypedef
unsigned
in
t
uint16_t
ctypedef
unsigned
int
uint32_t
ctypedef
unsigned
int
uint64_t
ctypedef
signed
char
int8_t
ctypedef
signed
short
int16_t
ctypedef
signed
int
int32_t
ctypedef
signed
long
int64_t
ctypedef
unsigned
char
uint8_t
ctypedef
unsigned
shor
t
uint16_t
ctypedef
unsigned
int
uint32_t
ctypedef
unsigned
long
uint64_t
# 7.18.1.2 Minimum-width integer types
ctypedef
signed
int
int_least8_t
ctypedef
signed
int
int_least16_t
ctypedef
signed
int
int_least32_t
ctypedef
signed
int
int_least64_t
ctypedef
unsigned
int
uint_least8_t
ctypedef
unsigned
in
t
uint_least16_t
ctypedef
unsigned
int
uint_least32_t
ctypedef
unsigned
int
uint_least64_t
ctypedef
signed
char
int_least8_t
ctypedef
signed
short
int_least16_t
ctypedef
signed
int
int_least32_t
ctypedef
signed
long
int_least64_t
ctypedef
unsigned
char
uint_least8_t
ctypedef
unsigned
shor
t
uint_least16_t
ctypedef
unsigned
int
uint_least32_t
ctypedef
unsigned
long
uint_least64_t
# 7.18.1.3 Fastest minimum-width integer types
ctypedef
signed
int
int_fast8_t
ctypedef
signed
int
int_fast16_t
ctypedef
signed
int
int_fast32_t
ctypedef
signed
int
int_fast64_t
ctypedef
unsigned
int
uint_fast8_t
ctypedef
unsigned
in
t
uint_fast16_t
ctypedef
unsigned
int
uint_fast32_t
ctypedef
unsigned
int
uint_fast64_t
ctypedef
signed
char
int_fast8_t
ctypedef
signed
short
int_fast16_t
ctypedef
signed
int
int_fast32_t
ctypedef
signed
long
int_fast64_t
ctypedef
unsigned
char
uint_fast8_t
ctypedef
unsigned
shor
t
uint_fast16_t
ctypedef
unsigned
int
uint_fast32_t
ctypedef
unsigned
long
uint_fast64_t
# 7.18.1.4 Integer types capable of holding object pointers
ctypedef
signed
int
intptr_t
ctypedef
unsigned
in
t
uintptr_t
ctypedef
ssize_t
intptr_t
ctypedef
size_
t
uintptr_t
# 7.18.1.5 Greatest-width integer types
ctypedef
signed
int
intmax_t
ctypedef
unsigned
int
uintmax_t
ctypedef
signed
long
long
intmax_t
ctypedef
unsigned
long
long
uintmax_t
# 7.18.2 Limits of specified-width integer types
# 7.18.2.1 Limits of exact-width integer types
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment