--- a/src/allocator.c Mon Feb 10 21:30:51 2025 +0100 +++ b/src/allocator.c Mon Feb 10 20:59:02 2025 +0100 @@ -71,7 +71,7 @@ &cx_default_allocator_class, NULL }; -CxAllocator *cxDefaultAllocator = &cx_default_allocator; +const CxAllocator * const cxDefaultAllocator = &cx_default_allocator; int cx_reallocate_( void **mem,