Mercurial > hg > Papers > 2016 > kkb-master
view paper/src/sample_transform.c @ 16:958634b9fa32
make paper directory
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 17 Feb 2016 16:59:46 +0900 |
parents | src/sample_transform.c@12d1c2f53258 |
children |
line wrap: on
line source
// Code Gear __code code1(struct Context* context, struct Allocate* allocate) { allocate->size = sizeof(struct Data1); context->next = Code2; goto meta(context, Allocator); } // Meta Code Gear(stub) __code code1_stub(struct Context* context) { goto code1(context, &context->data[Allocate]->allocate); } // Code Gear __code code2(struct Context* context, struct Data1* data1) { // processing } // Meta Code Gear(stub) __code code2_stub(struct Context* context) { goto code2(context, &context->data[context->dataNum]->data1); }