Mercurial > hg > Gears > GearsAgda
view src/llrb/allocate.c @ 76:7ad6d1502a03
refactoring
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Nov 2015 16:59:48 +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; }