|
|
@ -28,8 +28,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
// to get rid of you_must_not_use_assert___use_nl_assert___read_debug_h_file messages
|
|
|
|
// to get rid of you_must_not_use_assert___use_nl_assert___read_debug_h_file messages
|
|
|
|
#include <cassert>
|
|
|
|
#include <cassert>
|
|
|
|
#undef assert
|
|
|
|
#ifdef assert
|
|
|
|
#define assert nlassert
|
|
|
|
#undef assert
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef NL_DEBUG
|
|
|
|
|
|
|
|
#define assert(x) nlassert(x)
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define assert(x)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#include <luabind/luabind.hpp>
|
|
|
|
#include <luabind/luabind.hpp>
|
|
|
|
// in luabind > 0.6, LUABIND_MAX_ARITY is set to 10
|
|
|
|
// in luabind > 0.6, LUABIND_MAX_ARITY is set to 10
|
|
|
|
#if LUABIND_MAX_ARITY == 10
|
|
|
|
#if LUABIND_MAX_ARITY == 10
|
|
|
|