diff options
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.h b/src/utils.h index af5e820..1a88220 100644 --- a/src/utils.h +++ b/src/utils.h @@ -4,11 +4,11 @@ #include <stdlib.h> struct allocator; -typedef struct allocator *Allocator; +typedef struct allocator * allocator_t; -Allocator newAllocator(); -void deleteAllocator(Allocator allocator); +allocator_t new_allocator(); +void delete_allocator(allocator_t allocator); -void* allocate(Allocator allocator, size_t size); +void* allocate(allocator_t allocator, size_t size); #endif // FVM_UTILS_H_ |
