Commit Graph

4 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn a5e78dca9a bugfix(arena): Fixed crash-bug which is triggered by cloning a string into a full arena.
When allocating in a full arena, the function 'ufn_arena_alloc' returns NULL.
Up to now, the string-clone function would try to copy to there.
Now it returs NULL as string-copy when that would've happened.
2024-05-23 00:58:02 +02:00
Eric-Paul Ickhorn ee22b5df5c feature(arena): Added and documented string-clone function. 2024-05-23 00:56:59 +02:00
Eric-Paul Ickhorn f8749ba238 documentation(arena): Added comments to the functions and the arena-structure. 2024-05-23 00:52:48 +02:00
Eric-Paul Ickhorn 7ebd70c59c Added arena library 2024-05-23 00:12:26 +02:00