changeset 274:d14eb393023d

fix generate_stub
author mir3636
date Wed, 01 Feb 2017 18:13:47 +0900
parents 08d0f920dad2
children 06dab015a54d
files src/parallel_execution/SingleLinkedStack.cbc src/parallel_execution/generate_stub.pl
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/SingleLinkedStack.cbc	Tue Jan 31 17:19:01 2017 +0900
+++ b/src/parallel_execution/SingleLinkedStack.cbc	Wed Feb 01 18:13:47 2017 +0900
@@ -6,7 +6,7 @@
 //     struct Element* top;
 // } SingleLinkedStack;
 
-Stack* createSingleLinkedStack(struct Context *context) {
+Stack* createSingleLinkedStack(struct Context* context) {
     struct Stack* stack = new Stack();
     struct SingleLinkedStack* singleLinkedStack = new SingleLinkedStack();
     stack->stack = (union Data*)singleLinkedStack;
--- a/src/parallel_execution/generate_stub.pl	Tue Jan 31 17:19:01 2017 +0900
+++ b/src/parallel_execution/generate_stub.pl	Wed Feb 01 18:13:47 2017 +0900
@@ -80,7 +80,7 @@
 
 sub generateStub {
     my($fd,$prevCodeGearName,$dataGearName) = @_;
-    print $fd "__code ", $prevCodeGearName ,"_stub (struct Context* context) {\n";
+    print $fd "__code ", $prevCodeGearName ,"_stub(struct Context* context) {\n";
     print $fd $dataGearName;
     print $fd "\n} \n\n";
     return 1;