From 1866909ba1084d1b2cbcd324c9c8a81ab80405f0 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 2 Apr 2014 11:41:25 +0100 Subject: [PATCH] Eo: Changed eo_prefix for base class to 'eo'. This is better than eo_base, as it's super common. --- src/lib/eo/eo_base.eo | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 376ba38415..d44b9154b4 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -1,5 +1,7 @@ abstract Eo_Base () { + eo_prefix: eo; + constructors { constructor { /*@ Call the object's constructor. @@ -75,7 +77,7 @@ Prevents event callbacks from being called for the object. */ /*@ Call the object's destructor. Should not be used with #eo_do. Only use it with #eo_do_super. */ } - data_set { + key_data_set { /*@ Set generic data to object. */ params { @in const char* key; /*@ the key associated with the data */ @@ -83,7 +85,7 @@ Should not be used with #eo_do. Only use it with #eo_do_super. */ @in eo_base_data_free_func free_func; /*@ the func to free data with (NULL means */ } } - data_get { + key_data_get { /*@ Get generic data from object. */ params { @in const char* key; /*@ the key associated with the data */ @@ -102,7 +104,7 @@ Should not be used with #eo_do. Only use it with #eo_do_super. */ /*@ thaw events of object. Lets event callbacks be called for the object. */ } - data_del { + key_data_del { /*@ Del generic data from object. */ params { @in const char* key; /*@ the key associated with the data */