18 lines
347 B
C
Raw Normal View History

2025-12-05 01:12:39 +01:00
#ifndef RAVA_GC_HEAP_H
#define RAVA_GC_HEAP_H
#include "gc.h"
void rava_gc_heap_init(void);
void rava_gc_heap_shutdown(void);
void* rava_gc_heap_alloc(size_t size, uint8_t type);
void rava_gc_heap_free(void *ptr, size_t size);
bool rava_gc_request_block(void);
void rava_gc_recycle_blocks(void);
RavaGCHeap_t* rava_gc_get_heap(void);
#endif