mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +01:00
15 lines
294 B
C
15 lines
294 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
struct WuArena {
|
|
uint8_t* memory;
|
|
int32_t length;
|
|
int32_t capacity;
|
|
};
|
|
|
|
void WuArenaInit(WuArena* arena, int32_t capacity);
|
|
void* WuArenaAcquire(WuArena* arena, int32_t blockSize);
|
|
void WuArenaReset(WuArena* arena);
|
|
void WuArenaDestroy(WuArena* arena);
|