summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-26 16:56:13 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-26 16:56:13 +0200
commitb0ee540ec9a52824c79f42bff4fc6e06e0492f96 (patch)
tree8b60cbbc5d93f771b09695d74de849eeb6722c7f /src/lib/eolian_cxx/grammar/klass_def.hpp
parentcdff7852e03840fddb28e6ac451be80cfd877b94 (diff)
eolian: rename param direction enum and fields for consistency
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 2dcd4bb5ba..d9c50e1df3 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -685,17 +685,17 @@ struct parameter_def
685 eina::optional<expression_def>{}) 685 eina::optional<expression_def>{})
686 , unit(_unit) 686 , unit(_unit)
687 { 687 {
688 Eolian_Parameter_Dir direction = ::eolian_parameter_direction_get(param); 688 Eolian_Parameter_Direction direction = ::eolian_parameter_direction_get(param);
689 switch(direction) 689 switch(direction)
690 { 690 {
691 case EOLIAN_UNKNOWN_PARAM: 691 case EOLIAN_PARAMETER_UNKNOWN:
692 case EOLIAN_IN_PARAM: 692 case EOLIAN_PARAMETER_IN:
693 this->direction = parameter_direction::in; 693 this->direction = parameter_direction::in;
694 break; 694 break;
695 case EOLIAN_INOUT_PARAM: 695 case EOLIAN_PARAMETER_INOUT:
696 this->direction = parameter_direction::inout; 696 this->direction = parameter_direction::inout;
697 break; 697 break;
698 case EOLIAN_OUT_PARAM: 698 case EOLIAN_PARAMETER_OUT:
699 this->direction = parameter_direction::out; 699 this->direction = parameter_direction::out;
700 break; 700 break;
701 } 701 }