view src/llrb/allocate.c @ 270:b6ed4b2a5d9d

fix CMakeList
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 30 Jan 2017 11:16:17 +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;
}