Commit Graph
25 Commits
Author SHA1 Message Date
Abdelrahman Said 8d89695fcc Test reserving a massive arena 2024-06-03 08:05:14 +01:00
Abdelrahman Said 6499dd7be9 Rename testing macros 2024-06-03 07:58:24 +01:00
Abdelrahman Said 32877cdeaa Fix platform detection on Apple platforms 2024-06-02 20:54:20 +01:00
Abdelrahman Said 7e2d7b28b7 Update .gitignore 2024-06-02 20:54:07 +01:00
Abdelrahman Said efe8a104de Add allocator functions 2024-03-24 21:06:41 +00:00
Abdelrahman Said 6f799c4330 Remove alloc_obj and pass double pointer to free function 2024-03-24 21:05:32 +00:00
Abdelrahman Said 8a58a1cc48 Implement Allocator wrapper for memory context 2024-03-24 20:30:14 +00:00
Abdelrahman Said 03d2a59948 Implement Allocator wrapper for Arena 2024-03-24 20:25:51 +00:00
Abdelrahman Said 5b8e9f8be6 Wrap libc memory functions in Allocator interface 2024-03-24 19:25:07 +00:00
Abdelrahman Said 9ec123c41b Start implementing allocator abstraction 2024-03-24 19:24:54 +00:00
Abdelrahman Said 7039b5437a Implement memory context realloc function 2024-03-24 19:24:36 +00:00
Abdelrahman Said ca36e0dc35 Fix bug in the function that searches for the allocation header 2024-03-24 17:24:33 +00:00
Abdelrahman Said 3fdd897291 Implement realloc function for Arena 2024-03-24 14:57:21 +00:00
Abdelrahman Said 08703b465c Add arena allocation header 2024-03-24 13:55:13 +00:00
Abdelrahman Said 49ce26a6c2 Switch to using calloc instead of malloc 2024-03-24 11:25:52 +00:00
Abdelrahman Said 0c07437ef2 Implement memory context with main and temp arenas 2024-03-24 07:59:46 +00:00
Abdelrahman Said 063bc03974 Fix bug with clearing arena function 2024-03-24 07:49:49 +00:00
Abdelrahman Said 09af7ec734 Update .gitignore 2024-03-24 07:21:08 +00:00
Abdelrahman Said 04e86d355d Rename output name in compile script 2024-03-24 07:20:50 +00:00
Abdelrahman Said 7bfaf53d4e Return false when initialising arena with 0 capacity 2024-03-24 07:15:39 +00:00
Abdelrahman Said 958df4b55a Update .gitignore 2024-03-24 07:09:17 +00:00
Abdelrahman Said 9179f9beaa Ensure arena has been allocated before attempting to free 2024-03-24 06:37:02 +00:00
Abdelrahman Said 7aaeb91fe1 Update compile script 2024-03-24 06:21:22 +00:00
Abdelrahman Said df4315cdcc Use echo instead of printf in compile script 2024-03-24 05:52:29 +00:00
Abdelrahman Said b3a174f26c Update compile script 2024-03-24 05:45:13 +00:00