summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-21 16:35:09 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-21 16:35:09 -0300
commitb09c1f8093eaedb723db65547f3cb1163ffbf6f5 (patch)
treed060b2e499fbbb3d15b24482de8c8283277e5818 /src/lib/eolian_cxx
parentc951b6b754534e496f1545ac65b611c6e66736fb (diff)
eolian-cxx: Added stringshare
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/type_impl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp b/src/lib/eolian_cxx/grammar/type_impl.hpp
index 2e75e126a4..3e67d858ca 100644
--- a/src/lib/eolian_cxx/grammar/type_impl.hpp
+++ b/src/lib/eolian_cxx/grammar/type_impl.hpp
@@ -96,6 +96,12 @@ struct visitor_generate
96 r.base_qualifier.qualifier ^= qualifier_info::is_ref; 96 r.base_qualifier.qualifier ^= qualifier_info::is_ref;
97 return replace_base_type(r, " ::efl::eina::string_view"); 97 return replace_base_type(r, " ::efl::eina::string_view");
98 }} 98 }}
99 , {"stringshare", nullptr, [&]
100 {
101 regular_type_def r = regular;
102 r.base_qualifier.qualifier ^= qualifier_info::is_ref;
103 return replace_base_type(r, " ::efl::eina::stringshare");
104 }}
99 , {"generic_value", nullptr, [&] 105 , {"generic_value", nullptr, [&]
100 { return regular_type_def{" ::efl::eina::value", regular.base_qualifier, {}}; 106 { return regular_type_def{" ::efl::eina::value", regular.base_qualifier, {}};
101 }} 107 }}