mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
VC++'s late instantiation killing me on things being used technically before they're defined, but being inside templates makes it bad...
This commit is contained in:
parent
dce8053248
commit
84554c90ea
|
@ -31,8 +31,6 @@
|
||||||
namespace sol {
|
namespace sol {
|
||||||
|
|
||||||
namespace usertype_detail {
|
namespace usertype_detail {
|
||||||
const lua_Integer toplevel_magic = static_cast<lua_Integer>(0x00000001);
|
|
||||||
|
|
||||||
struct variable_wrapper {
|
struct variable_wrapper {
|
||||||
virtual int index(lua_State* L) = 0;
|
virtual int index(lua_State* L) = 0;
|
||||||
virtual int new_index(lua_State* L) = 0;
|
virtual int new_index(lua_State* L) = 0;
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
namespace sol {
|
namespace sol {
|
||||||
namespace usertype_detail {
|
namespace usertype_detail {
|
||||||
|
const lua_Integer toplevel_magic = static_cast<lua_Integer>(0x00020001);
|
||||||
|
|
||||||
struct add_destructor_tag {};
|
struct add_destructor_tag {};
|
||||||
struct check_destructor_tag {};
|
struct check_destructor_tag {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user