added memory allocator
[winnie] / src / shalloc.h
index ce9d184..2236b27 100644 (file)
@@ -1,10 +1,12 @@
 #ifndef SHALLOC_H_
 #define SHALLOC_H_
 
+#include <cstring>
+
 bool init_shared_memory();
 void destroy_shared_memory();
 
-void *shmalloc(size_t bytes);
-void shmfree(void *ptr);
+void *sh_malloc(size_t bytes);
+void sh_free(void *ptr);
 
 #endif // SHALLOC_H_