Version 0.3.0 (2022-05-28)
134 files changed, 6149 insertions(+), 1770 deletions(-)
Breaking changes
<kernaux/assert.h>
- a semicolon is required after macros.<kernaux/assert.h>
- the constantKERNAUX_ITOA_BUFFER_SIZE
is renamed to
KERNAUX_ITOA10_BUFFER_SIZE
.
New features
./configure
- testing may be enabled with--enable-tests
,
--enable-tests-all
,--enable-tests-python
../configure
- the heavy binary data may be disabled with--disable-bloat
../configure
- position-independent code is generated by default, disable
with--disable-pic
../configure
- compiler warnings turn into errors by default, disable with
--disable-werror
.<kernaux/libc.h>
- added functionsatoi
,isdigit
,isspace
.<kernaux/ntoa.h>
- added functionskernaux_[u|i]toa
,kernaux_[u|i]toa16
and related constants.
Other changes
- Assertions are used more broadly.
<kernaux.h>
- the header is now generated from template depending on
configuration options, so you may safely include it when some packages are
missing, it won't cause compilation error.<kernaux/printf.h>
- a potential buffer overflow is fixed.