view src/synchronizedQueue/allocate.h @ 171:747067fe46bd

Fix selected Queue
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 24 Nov 2016 16:29:46 +0900
parents a870c84acd0e
children
line wrap: on
line source

void allocator(struct Context* context) { 
    context->data[++context->dataNum] = context->heap; 
    context->heap += context->data[0]->allocate.size; 
    return;
}