Commit Graph
15 Commits
Author SHA1 Message Date
theoludwig 336bbf6197 feat: add assert module 2024-09-25 14:57:34 +02:00
theoludwig 51d7123c8d fix!: usage of stdint instead of int types for cross-platform compatibility
BREAKING CHANGE: Functions signatures changed.

Fixes #9
2024-09-25 14:26:15 +02:00
theoludwig b9ba3fbff4 docs: consistency improvements 2023-08-09 21:08:15 +02:00
theoludwig f0716c2e12 docs: invalid @param for character_append 2023-08-09 20:17:54 +02:00
theoludwig b922fd9cd3 fix: handle EXIT_FAILURE by printing error message with perror 2023-08-07 00:11:07 +02:00
theoludwig 72645da4b2 perf: mutate strings instead of copy when possible
BREAKING CHANGE: Most of string functions mutates the string instead of copying now.
This allows better performance when copy is not needed.
It also allows more granual control.
If copy is wanted, simply use `string_copy` before calling the function.

Impacted functions are:
`string_to_uppercase`, `string_to_lowercase`, `string_replace`,
`string_trim_start`, `string_trim_end`, `string_trim`,
`string_capitalize`, `string_reverse`
2023-08-06 23:17:07 +02:00
theoludwig 074d9e0acb docs: fix doxygen warnings 2023-06-25 21:32:16 +02:00
theoludwig 682997c0a5 chore: prefix all #define for includes with LIBCPROJECT 2023-06-25 20:09:07 +02:00
theoludwig 5f60abc759 chore: remove useless @return 2023-06-25 20:09:07 +02:00
theoludwig a0140a6716 feat: add types.h 2023-06-25 20:09:07 +02:00
theoludwig 1ded37b106 feat!: rename types string to string_t and byte to byte_t 2023-06-25 20:08:58 +02:00
theoludwig 8f3ee199e5 feat: add string type 2023-06-25 15:20:38 +02:00
theoludwig d1b93d1da0 docs: add @since to know when a structure/function was added 2023-06-24 21:06:45 +02:00
Divlo bd85171e2d refactor: include only in header files 2023-01-07 19:41:04 +01:00
Divlo 0fa82c5772 chore: initial commit 2023-01-05 19:28:05 +01:00