view src/llrb/allocate.c @ 363:3aab69fc4c28

Fix twice
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Thu, 29 Jun 2017 01:14: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;
}