summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/struct_definition.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-26 17:01:03 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-04-03 17:29:41 -0300
commite2fafe5b0c1a8902136d7872b9e424347c7ce717 (patch)
treeb307c3d999638ee51a6f0c0b6d5d0b6a6c4b6d8a /src/bin/eolian_mono/eolian/mono/struct_definition.hh
parent92f5383e3c983756e05bd11c7e7ad9d53a332b14 (diff)
efl_mono: Initial version of Strbuf support.
Also moved the ValueOwnership enum from eina value to eina.Ownership. It can be shared among the eina structures if needed.
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/struct_definition.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/struct_definition.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/struct_definition.hh b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
index 0b45da95b2..2382368bcd 100644
--- a/src/bin/eolian_mono/eolian/mono/struct_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
@@ -342,7 +342,7 @@ struct to_external_field_convert_generator
342 else if (field.type.c_type == "Eina_Value *" || field.type.c_type == "const Eina_Value *") 342 else if (field.type.c_type == "Eina_Value *" || field.type.c_type == "const Eina_Value *")
343 { 343 {
344 if (!as_generator( 344 if (!as_generator(
345 scope_tab << scope_tab << "_external_struct." << string << " = new eina.Value(_internal_struct." << string << ", eina.ValueOwnership.Unmanaged);\n" 345 scope_tab << scope_tab << "_external_struct." << string << " = new eina.Value(_internal_struct." << string << ", eina.Ownership.Unmanaged);\n"
346 ).generate(sink, std::make_tuple(field_name, field_name), context)) 346 ).generate(sink, std::make_tuple(field_name, field_name), context))
347 return false; 347 return false;
348 } 348 }