From d47610a7323dd357e57f26ca83014c7b39dd48e9 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 16 Jan 2018 16:36:45 +0100 Subject: 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. --- src/lib/eolian_cxx/grammar/klass_def.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/eolian_cxx') 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 inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* unit, Eolian_C_Type_Type ctype) { - c_type = ::eolian_type_c_type_get(unit, eolian_type, ctype); + c_type = ::eolian_type_c_type_get(eolian_type, ctype); // ::eina_stringshare_del(stringshare); // this crashes Eolian_Type const* stp = eolian_type_base_type_get(eolian_type); has_own = !!::eolian_type_is_owned(eolian_type); -- cgit v1.2.1