Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/metaCodeGearExample.cbc @ 2:c7acb9211784
add code, figure. and paper fix content
author | ryokka |
---|---|
date | Mon, 27 Jan 2020 20:41:36 +0900 |
parents | |
children |
line wrap: on
line source
__code add_stub(struct Context* context) { // Input Data Gear Integer* input1 = &context->data[context->idg + 0]->Integer; Integer* input2 = &context->data[context->idg + 1]->Integer; // set Continuation enum Code next = context->next; // Output Data Gear Integer** O_output = (Integer **)&context->data[context->odg + 0]; goto add(context, input1, input2, next, O_output); }