refactor(linting): removed const in header files for function definitions

This commit is contained in:
Mineplay 2025-10-05 10:28:59 -05:00
parent afcdff4c17
commit 945137ee09
2 changed files with 6 additions and 6 deletions

View file

@ -28,11 +28,11 @@
#include "../Utils/Error.h"
void *hallocy_allocate(const size_t size, const bool zero_memory);
void *hallocy_allocate(size_t size, bool zero_memory);
static inline void *hallocy_malloc(const size_t size) { return hallocy_allocate(size, false); }
static inline void *hallocy_calloc(const size_t size, size_t count) { return hallocy_allocate(size * count, true); }
void *hallocy_realloc(void *memory_pointer, const size_t size);
void *hallocy_realloc(void *memory_pointer, size_t size);
HallocyError hallocy_free(void *pointer);
#endif

View file

@ -28,9 +28,9 @@
#include "../Utils/Error.h"
HallocyError hallocy_set_memory(void *destination, int value, const size_t size);
HallocyError hallocy_copy_memory(void *destination, void *source, const size_t size);
HallocyError hallocy_move_memory(void *destination, void *source, const size_t size);
bool hallocy_compare_memory(void *left_side, void *right_side, const size_t size);
HallocyError hallocy_set_memory(void *destination, int value, size_t size);
HallocyError hallocy_copy_memory(void *destination, void *source, size_t size);
HallocyError hallocy_move_memory(void *destination, void *source, size_t size);
bool hallocy_compare_memory(void *left_side, void *right_side, size_t size);
#endif