Mercurial > hg > Members > Moririn
changeset 389:d9a7620a1106
handle continuation in stub
author | masataka |
---|---|
date | Sat, 29 Jul 2017 19:35:16 +0900 |
parents | 8940d1451a0d |
children | c93216e68d70 |
files | src/parallel_execution/generate_stub.pl |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/generate_stub.pl Sat Jul 29 19:08:25 2017 +0900 +++ b/src/parallel_execution/generate_stub.pl Sat Jul 29 19:35:16 2017 +0900 @@ -206,7 +206,11 @@ return 1; } } - # global variable case + # global or local variable case + if ($typeName eq "Code") { + $dataGearName{$codeGearName} .= "\tenum $typeName $varName = Gearef(context, $interface)->$varName;\n"; + return 1; + } $dataGearName{$codeGearName} .= "\t$typeName* $varName = Gearef(context, $typeName);\n"; return 1; }