blob: f65aa32195551c40f49a854c4c624736a7cd3def (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
MLib — Useful Standard Library Extensions
MLib is a collection of various headers and libraries that I find useful
in a large enough number of my personal C projects. This includes for
example: common datastructures, useful non-POSIX APIs, and 21st-century
strings.
This does not aim to be a LibC replacement, but rather a supplimentary
library. It is a C23 library with no plans to support older standards.
The headers as of now are:
• alloc.h — memory allocation functions
• bitset.h — bitset implementation
• bob.h — bob the string-builder
• dynarr.h — dynamic array implementation
• errors.h — err.h-inspired diagnostics functions
• macros.h — miscellaneous utility macros (MIN/MAX/lengthof/etc.)
• mbstring.h — multibyte-strings
• optparse.h — option parsing functions
• rune.h — inttypes.h but for runes
The headers planned for inclusion are:
• unicode/gbrk.h — grapheme breaking
• unicode/props.h — unicode character properties
|