Added include guard for love.h

This commit is contained in:
Alex Szpakowski
2013-08-01 01:48:45 -03:00
parent dfba650575
commit 411d16b063
+15 -4
View File
@@ -18,16 +18,27 @@
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
**/ **/
#ifndef LOVE_LOVE_H
#define LOVE_LOVE_H
// LOVE // LOVE
#include "common/config.h" #include "common/config.h"
// Forward declare lua_State. // Forward declare lua_State.
struct lua_State; struct lua_State;
#ifdef __cplusplus
extern "C" extern "C"
{ {
LOVE_EXPORT const char *love_version(); #endif
LOVE_EXPORT const char *love_codename();
LOVE_EXPORT int luaopen_love(lua_State *L); LOVE_EXPORT const char *love_version();
LOVE_EXPORT int luaopen_love_boot(lua_State *L); LOVE_EXPORT const char *love_codename();
LOVE_EXPORT int luaopen_love(lua_State *L);
LOVE_EXPORT int luaopen_love_boot(lua_State *L);
#ifdef __cplusplus
} }
#endif
#endif // LOVE_LOVE_H