diff options
Diffstat (limited to 'include/SDK/OS/OSAlloc.h')
-rw-r--r-- | include/SDK/OS/OSAlloc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/SDK/OS/OSAlloc.h b/include/SDK/OS/OSAlloc.h new file mode 100644 index 0000000..150a5f8 --- /dev/null +++ b/include/SDK/OS/OSAlloc.h @@ -0,0 +1,22 @@ +#ifndef POKEREVO_OSALLOC_H +#define POKEREVO_OSALLOC_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct Cell Cell; + +struct Cell { + Cell* prev; + Cell* next; + long size; +}; + +Cell *DLInsert(Cell *original, Cell *inserted); + +#ifdef __cplusplus +} +#endif + +#endif //POKEREVO_OSALLOC_H |