Mercurial > hg > GearsTemplate
changeset 285:bc17237bc8cf
fix generate_context
author | mir3636 |
---|---|
date | Sun, 05 Feb 2017 20:22:55 +0900 |
parents | e6bc0a4c2c36 |
children | fd470e090403 625a19d81ed7 |
files | src/parallel_execution/generate_context.pl |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/generate_context.pl Sun Feb 05 19:08:22 2017 +0900 +++ b/src/parallel_execution/generate_context.pl Sun Feb 05 20:22:55 2017 +0900 @@ -114,6 +114,8 @@ sub generateContext { $codeGear{"start_code"} = "$ddir/$name-context.c"; $codeGear{"exit_code"} = "$ddir/$name-context.c"; + $mCodeGear{"start_code"} = "$ddir/$name-context.c"; + $mCodeGear{"exit_code"} = "$ddir/$name-context.c"; open my $fd,">","$ddir/extern.h" or die("can't open $ddir/extern.h $!"); for my $code ( sort keys %codeGear ) { print $fd "extern __code ${code}_stub(struct Context*);\n";