Add define that strips extern "C" {} around Lua includes.
[luabind.git] / test / test_implicit_raw.cpp
blob0fb05b1bfb7a9701aa6105dc22a1b8029d89204f
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)
5 #include "test.hpp"
6 #include <luabind/luabind.hpp>
8 void raw_function(lua_State* L)
9 {}
11 void raw_function2(int, lua_State* L, int)
14 void test_main(lua_State* L)
16 using namespace luabind;
18 module(L) [
19 def("raw_function", &raw_function),
20 def("raw_function2", &raw_function2)
23 DOSTRING(L,
24 "raw_function()\n"
25 "raw_function2(1,2)\n"