#include "h.h" #include void mm_free(Value* x) { onFree(x); free(x); } void* mm_allocN(usz sz, u8 type) { Value* x = malloc(sz); onAlloc(sz, type); x->flags = x->extra = x->mmInfo = x->type = 0; x->refc = 1; x->type = type; return x; } void gc_add(B x) { } void gc_addFn(vfn f) { } void gc_disable() { } void gc_enable() { } void gc_maybeGC() { } void gc_forceGC() { } void gc_visitRoots() { } void mm_visit(B x) { } void mm_visitP(void* x) { } u64 mm_round(usz x) { return x; } u64 mm_size(Value* x) { return -1; } u64 mm_totalAllocated() { return -1; } void mm_forHeap(V2v f) { }