comparison paper/src/singleLinkedQueueTest_script.cbc @ 3:959f4b34d6f4

add final thesis
author soto
date Tue, 09 Feb 2021 18:44:53 +0900
parents
children
comparison
equal deleted inserted replaced
2:2c50fd1d115e 3:959f4b34d6f4
1 __code code1(struct Context *context) {
2 Queue* queue = createSingleLinkedQueue(context);
3 Node* node = &ALLOCATE(context, Node)->Node;
4 node->color = Red;
5 Gearef(context, Queue)->queue = (union Data*) queue;
6 Gearef(context, Queue)->data = (union Data*) node;
7 Gearef(context, Queue)->next = C_queueTest2;
8 goto meta(context, queue->put);
9 }