view src/llrb/allocate.c @ 212:37d875930061

Fix queue_test error
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 04 Jan 2017 05:00:39 +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;
}