1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2024-09-19 21:35:53 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
07e2f4db45
fix: convert numbers base to another only accept unsigned integers 2023-08-09 23:29:58 +02:00
b922fd9cd3
fix: handle EXIT_FAILURE by printing error message with perror 2023-08-07 00:11:07 +02:00
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
209440588d
fix: more memory issues thanks to -fsanitize=address flag
Work In Progress #5
2023-08-03 23:55:14 +02:00
2796dec0c7
fix: memory issues thanks to -fsanitize=address flag
Work In Progress #5
2023-08-03 19:35:44 +02:00
368c07c57a
fix: char* issues with memory allocation
Work In progress #5
2023-06-26 22:32:26 +02:00
1ded37b106
feat!: rename types string to string_t and byte to byte_t 2023-06-25 20:08:58 +02:00
8f3ee199e5
feat: add string type 2023-06-25 15:20:38 +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