mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Added include guard for love.h
This commit is contained in:
+15
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user