Mercurial > hg > Members > Moririn
view src/synchronizedQueue/origin_cs.c @ 258:4fe19a06d666
generate next args
author | mir3636 |
---|---|
date | Sat, 28 Jan 2017 12:25:35 +0900 |
parents | 765ee56d68f1 |
children |
line wrap: on
line source
#include <stdlib.h> #include "synchronizedQueueContext.h" __code meta(struct Context* context, enum Code next) { goto (context->code[next])(context); } __code start_code(struct Context* context, enum Code next) { goto meta(context, next); } __code exit_code(struct Context* context) { free(context->code); free(context->data); free(context->heapStart); goto exit(0); }