mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
002233ba84
— 🔨 Fix up the general build
12 lines
181 B
C++
12 lines
181 B
C++
#include <sol/sol.hpp>
|
|
|
|
sol::function fn;
|
|
|
|
int main(int, char*[]) {
|
|
sol::state lua;
|
|
lua.open_libraries(sol::lib::base);
|
|
fn = lua["print"];
|
|
fn.abandon();
|
|
return 0;
|
|
}
|