refactor(linting): removed const in header files for function definitions
This commit is contained in:
parent
afcdff4c17
commit
945137ee09
2 changed files with 6 additions and 6 deletions
|
|
@ -28,11 +28,11 @@
|
||||||
|
|
||||||
#include "../Utils/Error.h"
|
#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_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); }
|
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);
|
HallocyError hallocy_free(void *pointer);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
#include "../Utils/Error.h"
|
#include "../Utils/Error.h"
|
||||||
|
|
||||||
HallocyError hallocy_set_memory(void *destination, int value, const size_t size);
|
HallocyError hallocy_set_memory(void *destination, int value, size_t size);
|
||||||
HallocyError hallocy_copy_memory(void *destination, void *source, const size_t size);
|
HallocyError hallocy_copy_memory(void *destination, void *source, size_t size);
|
||||||
HallocyError hallocy_move_memory(void *destination, void *source, const size_t size);
|
HallocyError hallocy_move_memory(void *destination, void *source, size_t size);
|
||||||
bool hallocy_compare_memory(void *left_side, void *right_side, const size_t size);
|
bool hallocy_compare_memory(void *left_side, void *right_side, size_t size);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue