Mercurial > hg > Members > Moririn
view src/parallel_execution/origin_cs.c @ 87:9e139a340bd1 parallel_execution
rename directory
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 19 Jan 2016 16:16:26 +0900 |
parents | src/tmp/origin_cs.c@e06e1a9e569e |
children | f31b4e4bf4bb |
line wrap: on
line source
#include <stdlib.h> #include "context.h" __code meta(struct Context* context, enum Code next) { goto (context->code[next])(context); } __code start_code(struct Context* context) { goto meta(context, context->next); } __code exit_code(struct Context* context) { free(context->code); free(context->data); free(context->heapStart); goto exit(0); }