view src/llrb/allocate.c @ 233:06133afb3b5b

create worker start_code
author mir3636
date Sun, 22 Jan 2017 20:02:21 +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;
}