summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 14:31:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-05 15:06:34 +0900
commit207a0cf3e3ce169b2e6400ca4bc1df512ea15a27 (patch)
tree25ef8280e607308de2e7cbf131c7064a6397291c /src/lib/eolian_cxx
parent8cdb3184f8a1f3e5396d953b238ce2e217f0cb1c (diff)
eo: Move hacky API auto_unref to C only
This API is meant to be used by parts only, and by bindings dealing with part objects. This patch fixes make check which got broken in the after the previous one (cxx).
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/part_implementation.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/part_implementation.hpp b/src/lib/eolian_cxx/grammar/part_implementation.hpp
index 692ebca7c1..d88ae05b92 100644
--- a/src/lib/eolian_cxx/grammar/part_implementation.hpp
+++ b/src/lib/eolian_cxx/grammar/part_implementation.hpp
@@ -31,7 +31,7 @@ struct part_implementation_generator
31 if(!as_generator(string << ">::type "<< string << "::" << string << "() const\n{\n" 31 if(!as_generator(string << ">::type "<< string << "::" << string << "() const\n{\n"
32 << scope_tab << "::Eo *__return_value = ::efl_part" 32 << scope_tab << "::Eo *__return_value = ::efl_part"
33 << "(this->_eo_ptr(), \"" << string << "\");\n" 33 << "(this->_eo_ptr(), \"" << string << "\");\n"
34 << scope_tab << "::efl_auto_unref_set(__return_value, false);\n") 34 << scope_tab << "::___efl_auto_unref_set(__return_value, false);\n")
35 .generate(sink, std::make_tuple(part.klass.eolian_name, klass_name, part.name, part.name), ctx)) 35 .generate(sink, std::make_tuple(part.klass.eolian_name, klass_name, part.name, part.name), ctx))
36 return false; 36 return false;
37 if(!as_generator(scope_tab << "return ::" << *(string << "::")) 37 if(!as_generator(scope_tab << "return ::" << *(string << "::"))