view src/llrb/allocate.c @ 291:87128b876c63

add test
author ikkun
date Thu, 09 Feb 2017 19:02:15 +0900
parents 368306e1bfed
children
line wrap: on
line source

#include "llrbContext.h"

void allocator(struct Context* context) {
    context->data[++context->dataNum] = context->heap;
    context->heap += context->data[Allocate]->allocate.size;
}