view src/include/origin_cs.h @ 23:868c2918b634

Non Destructive llrb
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Thu, 30 Apr 2015 19:07:23 +0900
parents 907c69e21e56
children c469c5ed5b4d
line wrap: on
line source

__code start_code();
__code exit_code();

__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->heap_start);
    goto exit(0);
}