1 // Copyright Daniel Wallin 2009. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <luabind/luabind.hpp>
8 void test_main(lua_State
* L
)
10 DOSTRING(L
, "x = 4294967295");
12 unsigned int x
= luabind::object_cast
<unsigned int>(
13 luabind::globals(L
)["x"]);
15 unsigned int y
= 4294967295UL;