| 123456789101112131415161718192021 |
- #pragma once
- // Wraps the LUA includes for platform specific build workarounds
- extern "C"
- {
- #include <lua.h>
- #include <lualib.h>
- #include <lauxlib.h>
- }
- #ifdef __APPLE__
- // Something in the Apple headers seems to #define nil as __NULL
- // this then causes a build error in luabind:
- // luabind/nil.hpp:36:40: error: expected unqualified-id
- // extern LUABIND_API detail::nil_type nil;
- #undef nil
- #endif
- #include <luabind/luabind.hpp>
- #include <luabind/yield_policy.hpp>
|