mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
>_>
This commit is contained in:
parent
4cdcac2001
commit
9de3ed48e1
|
@ -468,7 +468,6 @@ TEST_CASE("functions/all-kinds", "Register all kinds of functions, make sure the
|
||||||
lua.set_function("l", sol::c_call<decltype(&test_1::a), &test_1::a>);
|
lua.set_function("l", sol::c_call<decltype(&test_1::a), &test_1::a>);
|
||||||
lua.set_function("m", &test_2::a, &t2);
|
lua.set_function("m", &test_2::a, &t2);
|
||||||
lua.set_function("n", sol::c_call<decltype(&test_1::x_bark), &test_1::x_bark>);
|
lua.set_function("n", sol::c_call<decltype(&test_1::x_bark), &test_1::x_bark>);
|
||||||
lua.set_function("o", sol::c_call<decltype(test_1::x_bark), test_1::x_bark>);
|
|
||||||
|
|
||||||
lua.script(R"(
|
lua.script(R"(
|
||||||
o1 = test_1.new()
|
o1 = test_1.new()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user