General extension library for C. No dependencies beyond common POSIX platform headers. \[st]andard library, [i]zzy\, in the same vein as stb.
izzy fbd6499d20 compatibility fixes | 1 hónapja | |
---|---|---|
dwarf | 4 éve | |
hash_fns | 4 éve | |
lexer | 2 hónapja | |
parser | 1 éve | |
scripting | 3 éve | |
string_utils | 1 éve | |
test | 1 éve | |
.gitignore | 1 éve | |
LICENSE | 5 éve | |
README.md | 4 éve | |
b64.c | 1 éve | |
b64.h | 1 éve | |
build.sh | 3 éve | |
conventions.h | 1 éve | |
err.h | 4 éve | |
fs.c | 1 éve | |
fs.h | 1 éve | |
hash.c | 1 hónapja | |
hash.h | 1 éve | |
heap.c | 1 éve | |
heap.h | 7 hónapja | |
ini.c | 2 éve | |
ini.h | 2 éve | |
initest.ini | 2 éve | |
macros.h | 4 éve | |
matrix.c | 1 éve | |
matrix.h | 1 éve | |
memarena.c | 5 éve | |
memarena.h | 5 éve | |
mempool.c | 4 éve | |
mempool.h | 1 hónapja | |
misc.c | 6 hónapja | |
misc.h | 3 hónapja | |
rb.c | 4 éve | |
rb.h | 4 éve | |
ring.c | 4 éve | |
ring.h | 4 éve | |
rpn.c | 3 éve | |
rpn.h | 4 éve | |
sets.c | 2 éve | |
sets.h | 4 éve | |
sexp.c | 7 hónapja | |
sexp.h | 7 hónapja | |
stats.c | 4 éve | |
stats.h | 4 éve | |
sti.c | 1 éve | |
sti.h | 1 éve | |
string.c | 6 hónapja | |
string.h | 3 hónapja | |
string_int.c | 1 éve | |
string_int.h | 2 éve | |
svec.c | 1 éve | |
svec.h | 1 éve | |
talloc.c | 4 éve | |
talloc.h | 3 éve | |
test.c | 1 éve | |
utf.c | 1 éve | |
utf.h | 1 éve | |
vec.c | 1 hónapja | |
vec.h | 4 hónapja |
General extension library for C. No dependencies beyond common POSIX platform headers. "[st]andard library, [i]zzy", in the same vein as stb.
#include "sti/sti.h"
and compile sti/sti.c
to get everything at once, or
select individual pairs a la carte.
(Un)licensed under the Unlicense, which is effectively lawyer speak for Public Domain in all sane countries that have the concept of Public Domain. To quote Sam Hocevar, You just DO WHAT THE FUCK YOU WANT TO.
The API may change drastically with no notice. This is my personal set of utilities and I have not permanently settled on how it should work.
A few of the functions have terrible performance when compiled with -O0 but excellent performance when compiled with -O2/3.
Some of the _EACH() loop macros use typeof, a gcc-specific extension. I am not currently aware of a workaround for clang.
Most of the data structures use macro magic to be relatively type-safe and avoid void* casting where possible. Acknowledgements to nothings/Sean Barrett for the concept.