summaryrefslogtreecommitdiff
path: root/src/bin/eolian/main.h
diff options
context:
space:
mode:
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