projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added memory allocator
[winnie]
/
src
/
shalloc.h
1
#ifndef SHALLOC_H_
2
#define SHALLOC_H_
3
4
#include <cstring>
5
6
bool init_shared_memory();
7
void destroy_shared_memory();
8
9
void *sh_malloc(size_t bytes);
10
void sh_free(void *ptr);
11
12
#endif // SHALLOC_H_