view src/metaCodeGearExample.cbc @ 1:73127e0ab57c

(none)
author soto@cr.ie.u-ryukyu.ac.jp
date Tue, 08 Sep 2020 18:38:08 +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);
}