summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/parameter.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/parameter.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/parameter.hh12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/parameter.hh b/src/bin/eolian_mono/eolian/mono/parameter.hh
index 416cacb..8938a31 100644
--- a/src/bin/eolian_mono/eolian/mono/parameter.hh
+++ b/src/bin/eolian_mono/eolian/mono/parameter.hh
@@ -1121,7 +1121,8 @@ struct native_convert_out_assign_generator
1121 return false; 1121 return false;
1122 } 1122 }
1123 return as_generator( 1123 return as_generator(
1124 string << "= Efl.Eo.Globals.cached_stringshare_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_stringshares, " << string << ");\n" 1124 //string << "= Efl.Eo.Globals.cached_stringshare_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_stringshares, " << string << ");\n"
1125 string << "= " << string << ";\n"
1125 ).generate(sink, std::make_tuple(escape_keyword(param.param_name), out_variable_name(param.param_name)), context); 1126 ).generate(sink, std::make_tuple(escape_keyword(param.param_name), out_variable_name(param.param_name)), context);
1126 } 1127 }
1127 else if (param_is_acceptable(param, "const char *", !WANT_OWN, WANT_OUT)) 1128 else if (param_is_acceptable(param, "const char *", !WANT_OWN, WANT_OUT))
@@ -1132,7 +1133,8 @@ struct native_convert_out_assign_generator
1132 return false; 1133 return false;
1133 } 1134 }
1134 return as_generator( 1135 return as_generator(
1135 string << "= Efl.Eo.Globals.cached_string_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_strings, " << string << ");\n" 1136 //string << "= Efl.Eo.Globals.cached_string_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_strings, " << string << ");\n"
1137 string << " = " << string << ";\n"
1136 ).generate(sink, std::make_tuple(escape_keyword(param.param_name), out_variable_name(param.param_name)), context); 1138 ).generate(sink, std::make_tuple(escape_keyword(param.param_name), out_variable_name(param.param_name)), context);
1137 } 1139 }
1138 else if (param_is_acceptable(param, "Eina_Binbuf *", WANT_OWN, WANT_OUT) 1140 else if (param_is_acceptable(param, "Eina_Binbuf *", WANT_OWN, WANT_OUT)
@@ -1270,7 +1272,8 @@ struct native_convert_return_generator
1270 return false; 1272 return false;
1271 } 1273 }
1272 return as_generator( 1274 return as_generator(
1273 "return Efl.Eo.Globals.cached_string_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_strings, _ret_var);\n" 1275 //"return Efl.Eo.Globals.cached_string_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_strings, _ret_var);\n"
1276 "return _ret_var;\n"
1274 ).generate(sink, attributes::unused, context); 1277 ).generate(sink, attributes::unused, context);
1275 } 1278 }
1276 else 1279 else
@@ -1288,7 +1291,8 @@ struct native_convert_return_generator
1288 return false; 1291 return false;
1289 } 1292 }
1290 return as_generator( 1293 return as_generator(
1291 "return Efl.Eo.Globals.cached_stringshare_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_stringshares, _ret_var);\n" 1294 //"return Efl.Eo.Globals.cached_stringshare_to_intptr(((" << name_helpers::klass_inherit_name(*klass) << ")wrapper).cached_stringshares, _ret_var);\n"
1295 "return _ret_var;\n"
1292 ).generate(sink, attributes::unused, context); 1296 ).generate(sink, attributes::unused, context);
1293 } 1297 }
1294 else 1298 else