# HG changeset patch # User anatofuz # Date 1580785713 -32400 # Node ID 96fd8e1db32f72820e815eece40c2d928151ed7f # Parent 63a65e3a534073fb385d67623e08e205ee609750 fix_gen_stub.pl diff -r 63a65e3a5340 -r 96fd8e1db32f src/gearsTools/generate_stub.pl --- a/src/gearsTools/generate_stub.pl Tue Feb 04 11:57:39 2020 +0900 +++ b/src/gearsTools/generate_stub.pl Tue Feb 04 12:08:33 2020 +0900 @@ -147,7 +147,7 @@ my $ttype = $2; my $tname = $3; - $ttype =~ s/Impl/struct $name/; + $ttype =~ s/(Impl|Isa|Type)/Data/; if ($const_type eq 'const') { $ttype = "const $ttype"; } diff -r 63a65e3a5340 -r 96fd8e1db32f src/interface/Stack.h --- a/src/interface/Stack.h Tue Feb 04 11:57:39 2020 +0900 +++ b/src/interface/Stack.h Tue Feb 04 12:08:33 2020 +0900 @@ -1,10 +1,4 @@ typedef struct Stack{ - union Data* stack; - union Data* data; - union Data* data1; - /* Type* stack; */ - /* Type* data; */ - /* Type* data1; */ __code whenEmpty(...); __code clear(Impl* stack,__code next(...)); __code push(Impl* stack,Type* data, __code next(...));