summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/Evas.hh22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/lib/evas/Evas.hh b/src/lib/evas/Evas.hh
index 4bef41958f..893f895ca9 100644
--- a/src/lib/evas/Evas.hh
+++ b/src/lib/evas/Evas.hh
@@ -1,9 +1,23 @@
1#ifndef EFL_EVAS_HH 1#ifndef EVAS_HH
2#define EFL_EVAS_HH 2#define EVAS_HH
3#ifdef EFL_BETA_API_SUPPORT
4 3
5#include "Evas.eo.hh" 4#if defined(EVAS_H)
5#error "Do not include Evas C API headers before including Evas.hh"
6#endif
6 7
8#ifndef EFL_BETA_API_SUPPORT
9#define EFL_BETA_API_SUPPORT
7#endif 10#endif
11#ifndef EFL_EO_API_SUPPORT
12#define EFL_EO_API_SUPPORT
8#endif 13#endif
9 14
15#include <Efl.hh>
16
17extern "C" {
18#include "Evas.h"
19}
20
21#include "Evas.eo.hh"
22
23#endif