Mercurial > hg > Papers > 2021 > soto-thesis
view paper/src/singleLinkedQueueTest_script.cbc @ 14:a63df15c9afc default tip
DONE
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Feb 2021 23:36:39 +0900 |
parents | 959f4b34d6f4 |
children |
line wrap: on
line source
__code code1(struct Context *context) { Queue* queue = createSingleLinkedQueue(context); Node* node = &ALLOCATE(context, Node)->Node; node->color = Red; Gearef(context, Queue)->queue = (union Data*) queue; Gearef(context, Queue)->data = (union Data*) node; Gearef(context, Queue)->next = C_queueTest2; goto meta(context, queue->put); }