aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eolian/database_event_api.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-03 16:16:53 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-03 16:46:47 +0100
commitba033a4cfc6d6e072ac39e881459a48fa27913d1 (patch)
treeff8cb9402bb07eb919646e2a94656390e3362991 /src/lib/eolian/database_event_api.c
parentEdje: Add have_selection check to avoid unnecessary function calls (diff)
downloadefl-ba033a4cfc6d6e072ac39e881459a48fa27913d1.tar.gz
eolian: add documentation handling API
This adds new APIs that deal with the new documentation syntax provided by Eolian. The old doc comment APIs are considered deprecated from now on and will be removed. @feature
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 26a516753a..0a180e4878 100644
--- a/src/lib/eolian/database_event_api.c
+++ b/src/lib/eolian/database_event_api.c
@@ -26,6 +26,13 @@ eolian_event_description_get(const Eolian_Event *event)
return event->comment;
}
+EAPI const Eolian_Documentation *
+eolian_event_documentation_get(const Eolian_Event *event)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(event, NULL);
+ return event->doc;
+}
+
EAPI Eolian_Object_Scope
eolian_event_scope_get(const Eolian_Event *event)
{