view src/llrb/allocate.c @ 491:f985815ad032

Replace goto meta for SynchronizedQueue
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Sat, 30 Dec 2017 03:16:05 +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;
}