Add comment for default alignment
This commit is contained in:
		| @@ -6,6 +6,8 @@ | ||||
| #include <string.h> | ||||
|  | ||||
| #ifndef DEFAULT_ALIGNMENT | ||||
| // Why 2 * sizeof(void *) instead of sizeof(void *) | ||||
| // https://handmade.network/forums/t/6860-alignment_arena_allocator | ||||
| #define DEFAULT_ALIGNMENT (2 * sizeof(void *)) | ||||
| #endif /* ifndef DEFAULT_ALIGNMENT */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user