summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 16:36:45 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 16:39:05 +0100
commitd47610a7323dd357e57f26ca83014c7b39dd48e9 (patch)
treec218e79bd8519a7a567c68dd3386a2cffa94e340 /src/lib/eolian_cxx/grammar/klass_def.hpp
parentdd2e579fecbe6ec4d1e0e7d46c82daff39be03c5 (diff)
eolian: do not require unit when stringifying types
As it is no longer necessary to pass unit when evaluating exprs, it is not necessary to pass it here either. Convert all the APIs to the new style and update all instances in our tree.
Diffstat (limited to 'src/lib/eolian_cxx/grammar/klass_def.hpp')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index c59b39af73..ee9fccbf39 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -339,7 +339,7 @@ type_def const void_ {attributes::regular_type_def{"void", {qualifier_info::is_n
339 339
340inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* unit, Eolian_C_Type_Type ctype) 340inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* unit, Eolian_C_Type_Type ctype)
341{ 341{
342 c_type = ::eolian_type_c_type_get(unit, eolian_type, ctype); 342 c_type = ::eolian_type_c_type_get(eolian_type, ctype);
343 // ::eina_stringshare_del(stringshare); // this crashes 343 // ::eina_stringshare_del(stringshare); // this crashes
344 Eolian_Type const* stp = eolian_type_base_type_get(eolian_type); 344 Eolian_Type const* stp = eolian_type_base_type_get(eolian_type);
345 has_own = !!::eolian_type_is_owned(eolian_type); 345 has_own = !!::eolian_type_is_owned(eolian_type);