aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eolian/database_event_api.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-13 11:53:33 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-21 09:26:04 +0100
commitffbf149da16962b4c1540aa261c46d7e6b455021 (patch)
tree7ba63cd58ddb66f3be4d1d56fd1ba8f2c3d9c28f /src/lib/eolian/database_event_api.c
parenteolian: add comments containing original expressions to generated enum fields (diff)
downloadefl-ffbf149da16962b4c1540aa261c46d7e6b455021.tar.gz
eolian: new API: eolian_class_event_scope_get
Diffstat (limited to 'src/lib/eolian/database_event_api.c')
-rw-r--r--src/lib/eolian/database_event_api.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eolian/database_event_api.c b/src/lib/eolian/database_event_api.c
index 520ef93558..877932e1f8 100644
--- a/src/lib/eolian/database_event_api.c
+++ b/src/lib/eolian/database_event_api.c
@@ -10,3 +10,10 @@ eolian_class_event_information_get(const Eolian_Event *event, const char **event
if (event_comment) *event_comment = event->comment;
return EINA_TRUE;
}
+
+EAPI Eolian_Object_Scope
+eolian_class_event_scope_get(const Eolian_Event *event)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(event, EOLIAN_SCOPE_PUBLIC);
+ return event->scope;
+}