summaryrefslogtreecommitdiff
path: root/src/lib/elua
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 15:28:24 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commite1dee32e2611bac4f4464c2a2f4a275fb5be5e69 (patch)
tree025b4fa3c54f608561dff97eef6da9ac795b2c27 /src/lib/elua
parentc7d8d83c479f10f67041c6bea7fdeda9bf86045a (diff)
elua: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/lib/elua')
-rw-r--r--src/lib/elua/Elua.h7
-rw-r--r--src/lib/elua/cache.c1
-rw-r--r--src/lib/elua/elua.c1
-rw-r--r--src/lib/elua/elua_private.h2
-rw-r--r--src/lib/elua/io.c1
5 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index 3b087790b8..d960cf5f4c 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -48,10 +48,6 @@
48extern "C" { 48extern "C" {
49#endif 49#endif
50 50
51#ifdef HAVE_CONFIG_H
52# include <config.h>
53#endif
54
55/** 51/**
56 * @page elua_main Elua library (BETA) 52 * @page elua_main Elua library (BETA)
57 * 53 *
@@ -458,4 +454,7 @@ EAPI int elua_util_error_report(const Elua_State *es, int status);
458} // extern "C" { 454} // extern "C" {
459#endif 455#endif
460 456
457#undef EAPI
458#define EAPI
459
461#endif 460#endif
diff --git a/src/lib/elua/cache.c b/src/lib/elua/cache.c
index b856b0bde9..99d7b6a220 100644
--- a/src/lib/elua/cache.c
+++ b/src/lib/elua/cache.c
@@ -1,4 +1,3 @@
1#include "Elua.h"
2#include "elua_private.h" 1#include "elua_private.h"
3 2
4#include <sys/types.h> 3#include <sys/types.h>
diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index 3d34b1f9b1..a7c86f9a91 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -1,4 +1,3 @@
1#include "Elua.h"
2#include "elua_private.h" 1#include "elua_private.h"
3 2
4static Eina_Prefix *_elua_pfx = NULL; 3static Eina_Prefix *_elua_pfx = NULL;
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index 01d8e4b1ac..9f62c5ff4b 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -28,6 +28,8 @@
28#include <lualib.h> 28#include <lualib.h>
29#include <lauxlib.h> 29#include <lauxlib.h>
30 30
31#include "Elua.h"
32
31struct _Elua_State 33struct _Elua_State
32{ 34{
33 lua_State *luastate; 35 lua_State *luastate;
diff --git a/src/lib/elua/io.c b/src/lib/elua/io.c
index 91eef6f372..d5b8a0c7d1 100644
--- a/src/lib/elua/io.c
+++ b/src/lib/elua/io.c
@@ -1,4 +1,3 @@
1#include "Elua.h"
2#include "elua_private.h" 1#include "elua_private.h"
3 2
4/* expand fname to full path name (so that PATH is ignored) plus turn 3/* expand fname to full path name (so that PATH is ignored) plus turn