WHY2/include/memory.h

14 lines
366 B
C
Raw Normal View History

#ifndef WHY2_MEMORY_H
#define WHY2_MEMORY_H
2023-01-29 20:25:32 +01:00
void *why2_malloc(unsigned long size);
2023-01-29 20:33:51 +01:00
void *why2_calloc(unsigned long element, unsigned long size);
void *why2_realloc(void *pointer, unsigned long size);
2023-02-01 15:07:07 +01:00
char *why2_strdup(char *string);
2023-01-29 20:33:51 +01:00
void why2_free(void *pointer);
2023-02-02 16:40:24 +01:00
void why2_clean_memory(char *identifier); //identifier SPECIFIES WHICH NODES TO DEALLOCATE
#endif