view paper/src/codeGearExample.cbc @ 83:b35534a09000

Fix
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Sat, 10 Feb 2018 03:15:32 +0900
parents 1ea2032fbc31
children
line wrap: on
line source

__code add(struct Integer* input1, struct Integer* input2, __code next(struct Integer* output, ...)) {
    output->value = input1->value + input2->value;
    goto next(output, ...);
}