Changeset 321 for trunk/tests/lualib_test/nv_lualib_test.cc
- Timestamp:
- 08/25/14 02:43:30 (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/lualib_test/nv_lualib_test.cc
r214 r321 4 4 #include <nv/lua/lua_raw.hh> 5 5 #include <nv/lua/lua_glm.hh> 6 #include <nv/logger.hh> 7 #include <nv/math.hh> 8 #include <nv/object.hh> 9 #include <string> 6 #include <nv/core/logger.hh> 7 #include <nv/core/math.hh> 8 #include <nv/core/string.hh> 10 9 #include <iostream> 11 10 #include <functional> 12 #include <nv/gui/gui_element.hh>13 11 14 12 void hello( const std::string& h ) … … 31 29 nv::lua::register_glm( state ); 32 30 // run the Lua script 33 state.register_function<decltype( hello),&hello>( "hello" );31 state.register_function<decltype(&hello),&hello>( "hello" ); 34 32 state.do_file( "init.lua" ); 35 33 //std::cout << nv::function_traits<decltype(hello)>::arg_count << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.