Alejandro Colomar
7fe55162dd
Add mappings for 'div_t'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
Alejandro Colomar
ca8da19e35
Add more mappings for 'clock_t'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
Alejandro Colomar
314ec724f0
Add mappings for 'cc_t'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
Alejandro Colomar
09eebcfd0f
Add mappings for 'struct aiocb'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
Alejandro Colomar
cafeef5efd
Reorder mappings for 'blkcnt_t' and 'blksize_t'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
Alejandro Colomar
19c224e5a8
Add mappings for 'clockid_t'
...
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2021-07-11 09:03:34 +02:00
saki7
1f49927184
Add mappings for std::size_t
...
Suggest <cstdlib> etc. headers accordingly instead of C headers.
Add a small test to capture declaration order-dependent behavior for the
std::size_t mappings.
Co-authored-by: Kim Grasman <kim.grasman@gmail.com>
2021-05-18 21:40:52 +02:00
Omar Sandoval
595bd95699
Add mappings for max_align_t, ptrdiff_t, and wchar_t
...
According to C11, these are all provided by stddef.h, and wchar_t is
also provided by stdlib.h.
2020-09-26 16:45:11 +02:00
David Robillard
a9aee2349e
Add mappings for POSIX time types
2019-02-23 12:01:12 +01:00
David Robillard
e2e69bf914
Add mappings for clock_t and time_t
...
These are both defined in sys/types.h according to POSIX, and in time.h
according to C99 (7.23.1).
2019-02-23 12:01:12 +01:00
David Robillard
9bc06b7441
Add mappings for standard C fixed-width integer types
...
There are all defined by C99 to be in stdint.h
2019-02-23 12:01:12 +01:00
Scott Ramsby
2d71c53e7b
Add additional mapping for size_t
2018-05-26 01:56:10 +02:00
Scott Ramsby
b298f3dcbc
Spelling fixes
2018-05-25 20:54:33 +02:00
Kim Grasman
39738d1a77
Map FILE to <stdio.h>
...
Newer glibc has FILE in a separate header.
Fix for issue #447 .
2017-07-02 12:01:33 +03:00
Ben Wagner
36b3eb8b43
Allow size_t from multiple headers.
...
According to the C language specification, size_t is defined by all
of stddef.h, stdio.h, stdlib.h, string.h, time.h, and wchar.h. Allow
size_t to be provided by any of these.
The tests must be updated to reflect this change. Currently cstdlib
and time.h are being used to obtain NULL, but these also now provide
size_t, which interferes with tests for size_t. Fortunately, locale.h
provides NULL but not size_t.
2015-06-24 17:00:49 -04:00
Volodymyr Sapsai
a6c6e5238c
Read private to public mappings from external file. Patch by Kim Gräsman.
2012-10-14 22:39:30 +00:00