view src/insert_verification/akashaCS.c @ 4:d41e349d6e22

Fix filename
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Sun, 13 Mar 2016 18:23:18 +0900
parents src/insert_verification/akasha_cs.c@c80e44ac8f5e
children 3f00d95339a7
line wrap: on
line source

#include <stdlib.h>
#include "llrbContext.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);
}