V-Gears
0
Free Final Fantasy VII engine.
LuaIncludes.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 The V-Gears Team
3
*
4
* This file is part of V-Gears
5
*
6
* V-Gears is free software: you can redistribute it and/or modify it under
7
* terms of the GNU General Public License as published by the Free Software
8
* Foundation, version 3.0 (GPLv3) of the License.
9
*
10
* V-Gears is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*/
15
20
#pragma once
21
22
#ifdef __APPLE__
23
// Something in the Apple headers seems to #define nil as __NULL
24
// this then causes a build error in luabind:
25
// luabind/nil.hpp:36:40: error: expected unqualified-id
26
// extern LUABIND_API detail::nil_type nil;
27
#undef nil
28
29
// Causes a build error, usually an ICE on g++
30
#undef check
31
#endif
32
33
#include <luabind/luabind.hpp>
34
#include <luabind/yield_policy.hpp>
35
36
extern
"C"
{
37
#include "lua.h"
38
#include <lualib.h>
39
#include <lauxlib.h>
40
}
41
src
LuaIncludes.h
Generated by
1.9.4