summaryrefslogtreecommitdiff
path: root/src/bin/eolian/main.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-07 13:34:47 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-07 13:34:47 +0200
commit9553fd96401e2391ddc3143a64ea9d629c73fb37 (patch)
tree84a3c761a431c85693d0f8afcfeb10d14e98bd82 /src/bin/eolian/main.h
parent4cc17ae28a960b8b009a0063fa34d74f9c8a006b (diff)
eolian gen2: move to eolian gen (as the old one is gone)devs/q66/eolian_gen_next
Diffstat (limited to 'src/bin/eolian/main.h')
-rw-r--r--src/bin/eolian/main.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/bin/eolian/main.h b/src/bin/eolian/main.h
new file mode 100644
index 0000000..0dd0b79
--- /dev/null
+++ b/src/bin/eolian/main.h
@@ -0,0 +1,42 @@
1#ifndef EOLIAN_GEN_MAIN_H
2#define EOLIAN_GEN_MAIN_H
3
4#ifdef HAVE_CONFIG_H
5# include "config.h"
6#endif
7
8#include <Eina.h>
9#include <Eolian.h>
10
11extern int _eolian_gen_log_dom;
12
13#ifdef ERR
14# undef ERR
15#endif
16#define ERR(...) EINA_LOG_DOM_ERR(_eolian_gen_log_dom, __VA_ARGS__)
17
18#ifdef DBG
19# undef DBG
20#endif
21#define DBG(...) EINA_LOG_DOM_DBG(_eolian_gen_log_dom, __VA_ARGS__)
22
23#ifdef INF
24# undef INF
25#endif
26#define INF(...) EINA_LOG_DOM_INFO(_eolian_gen_log_dom, __VA_ARGS__)
27
28#ifdef WRN
29# undef WRN
30#endif
31#define WRN(...) EINA_LOG_DOM_WARN(_eolian_gen_log_dom, __VA_ARGS__)
32
33#ifdef CRIT
34# undef CRIT
35#endif
36#define CRIT(...) EINA_LOG_DOM_CRIT(_eolian_gen_log_dom, __VA_ARGS__)
37
38char *eo_gen_c_full_name_get(const char *nm);
39void eo_gen_class_names_get(const Eolian_Class *cl, char **cname,
40 char **cnameu, char **cnamel);
41
42#endif