summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_part_api.c
blob: 4fcd7c63fd3fe110d4b1d7105f4409e6a26f14e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <Eina.h>
#include "eolian_database.h"

EAPI const Eolian_Class *
eolian_part_class_get(const Eolian_Part *part)
{
   EINA_SAFETY_ON_NULL_RETURN_VAL(part, NULL);
   return part->klass;
}

EAPI const Eolian_Documentation *
eolian_part_documentation_get(const Eolian_Part *part)
{
   EINA_SAFETY_ON_NULL_RETURN_VAL(part, NULL);
   return part->doc;
}