Commit Graph

  • 7039b5437a Implement memory context realloc function Abdelrahman Said 2024-03-24 19:24:36 +00:00
  • ca36e0dc35 Fix bug in the function that searches for the allocation header Abdelrahman Said 2024-03-24 17:24:33 +00:00
  • 3fdd897291 Implement realloc function for Arena Abdelrahman Said 2024-03-24 14:57:21 +00:00
  • 08703b465c Add arena allocation header Abdelrahman Said 2024-03-24 13:55:13 +00:00
  • 49ce26a6c2 Switch to using calloc instead of malloc Abdelrahman Said 2024-03-24 11:25:52 +00:00
  • feada0b31c Add -O3 to compile flags abdelrahman 2024-03-24 08:10:40 +00:00
  • 0c07437ef2 Implement memory context with main and temp arenas Abdelrahman Said 2024-03-24 07:59:46 +00:00
  • 063bc03974 Fix bug with clearing arena function Abdelrahman Said 2024-03-24 07:49:49 +00:00
  • 09af7ec734 Update .gitignore Abdelrahman Said 2024-03-24 07:21:08 +00:00
  • 04e86d355d Rename output name in compile script Abdelrahman Said 2024-03-24 07:20:50 +00:00
  • 7bfaf53d4e Return false when initialising arena with 0 capacity Abdelrahman Said 2024-03-24 07:15:39 +00:00
  • 958df4b55a Update .gitignore Abdelrahman Said 2024-03-24 07:09:17 +00:00
  • 9179f9beaa Ensure arena has been allocated before attempting to free Abdelrahman Said 2024-03-24 06:37:02 +00:00
  • 7aaeb91fe1 Update compile script Abdelrahman Said 2024-03-24 06:21:22 +00:00
  • df4315cdcc Use echo instead of printf in compile script Abdelrahman Said 2024-03-24 05:52:29 +00:00
  • b3a174f26c Update compile script Abdelrahman Said 2024-03-24 05:45:13 +00:00
  • 6fc0b2987e Add extern "C" to all header files abdelrahman 2024-03-21 23:06:27 +00:00
  • 76222d31d4 Namespace all functions abdelrahman 2024-03-21 07:26:26 +00:00
  • 7948d3fd1a Ensure arena is freed when initialisation fails abdelrahman 2024-02-24 23:01:26 +00:00
  • 1094a9fefb Add comment for default alignment abdelrahman 2024-02-24 22:59:25 +00:00
  • b8db582098 Implement growing arena abdelrahman 2024-02-24 20:27:06 +00:00
  • a169fe3654 Return NULL when aligning forward if ptr is NULL abdelrahman 2024-02-24 20:26:37 +00:00
  • 9513c05b75 Handle NULL pointers in base arena abdelrahman 2024-02-24 18:44:43 +00:00
  • 633632105b Implement base arena allocator abdelrahman 2024-02-24 18:40:25 +00:00
  • 5a0aad5d52 Add memory utilities abdelrahman 2024-02-24 18:40:05 +00:00
  • 819d457048 Update build script abdelrahman 2024-02-24 18:39:41 +00:00
  • 5cbe7f2612 Remove example_build abdelrahman 2024-02-24 17:15:35 +00:00
  • 2be4536850 Add aliases for pointer integer types abdelrahman 2024-02-24 15:36:54 +00:00
  • 7e8de5f5fb Rename struct String to struct dstr abdelrahman 2024-02-24 15:04:22 +00:00
  • 293b16af31 Switch to PascalCase datatype names abdelrahman 2024-02-24 15:02:47 +00:00
  • 0a82702503 Add .gitignore abdelrahman 2024-02-24 14:59:22 +00:00
  • 36a4c04a5b Add build scripts for development abdelrahman 2024-02-24 14:59:07 +00:00
  • ad5d76d3cc Update namespace for cpath functions abdelrahman 2024-02-24 14:51:03 +00:00
  • d5c19e2c58 Namespace the path functions abdelrahman 2024-02-24 14:47:18 +00:00
  • fc951c8bd8 Update static aliases to be lower case abdelrahman 2024-02-24 14:46:52 +00:00
  • 75acf7da5d Fix bug with the dirup function abdelrahman 2024-02-24 14:46:32 +00:00
  • f1b29d1c3f INITIAL COMMIT abdelrahman 2024-01-20 21:37:22 +00:00