view src/sample.c @ 11:12d1c2f53258

revision
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Sun, 14 Feb 2016 07:02:11 +0900
parents
children
line wrap: on
line source

// Code Gear
__code code1(struct Allocate* allocate) {
    allocate->size = sizeof(struct Data1);
    
    goto allocator(allocate, Code2);
}

// Code Gear
__code code2(struct Data1* data1) {
    // processing
}