comparison src/parallel_execution/stack.c @ 217:c34e6aa10967

Fix DataGear access name
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Mon, 09 Jan 2017 01:18:13 +0900
parents 119c035e0e36
children ebc13549394c
comparison
equal deleted inserted replaced
216:6578c5c274ba 217:c34e6aa10967
17 stack->clear = C_clearSingleLinkedStack; 17 stack->clear = C_clearSingleLinkedStack;
18 return (union Data*)(stack); 18 return (union Data*)(stack);
19 } 19 }
20 20
21 void printStack1(union Data* data) { 21 void printStack1(union Data* data) {
22 struct Node* node = &data->Element.data->node; 22 struct Node* node = &data->Element.data->Node;
23 if (node == NULL) { 23 if (node == NULL) {
24 printf("NULL"); 24 printf("NULL");
25 } else { 25 } else {
26 printf("key = %d ,", node->key); 26 printf("key = %d ,", node->key);
27 printStack1((union Data*)data->Element.next); 27 printStack1((union Data*)data->Element.next);