summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/Eolian_Cxx.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eolian_cxx/Eolian_Cxx.hh b/src/lib/eolian_cxx/Eolian_Cxx.hh
index ec5062fee3..2eb9736cb0 100644
--- a/src/lib/eolian_cxx/Eolian_Cxx.hh
+++ b/src/lib/eolian_cxx/Eolian_Cxx.hh
@@ -26,14 +26,14 @@ struct eolian_init
26 26
27struct eolian_state 27struct eolian_state
28{ 28{
29 Eolian *value; 29 Eolian_State *value;
30 eolian_state() 30 eolian_state()
31 { 31 {
32 value = ::eolian_new(); 32 value = ::eolian_state_new();
33 } 33 }
34 ~eolian_state() 34 ~eolian_state()
35 { 35 {
36 ::eolian_free(value); 36 ::eolian_state_free(value);
37 } 37 }
38 38
39 inline Eolian_Unit const* as_unit() const 39 inline Eolian_Unit const* as_unit() const