changeset 130:3312d7ce91e6

fix output instance name
author anatofuz
date Tue, 03 Dec 2019 14:58:00 +0900
parents 833f40b7b1ce
children c690327cabc8
files src/gearsTools/trans_impl.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gearsTools/trans_impl.pl	Tue Dec 03 11:59:57 2019 +0900
+++ b/src/gearsTools/trans_impl.pl	Tue Dec 03 14:58:00 2019 +0900
@@ -107,9 +107,9 @@
             my $is_pointer = $1;
             my $var_name = $2;
             if ($1) {
-                print $out "    ${instance_impl}->$var_name = NULL;\n";
+                print $out "    ${instance_inter}->$var_name = NULL;\n";
             } else {
-                print $out "    ${instance_impl}->$var_name  = 0;\n";
+                print $out "    ${instance_inter}->$var_name  = 0;\n";
             }
         }
   }