blob: 018f9c603dca72d641653f04252b903b8e315fa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#define SOL_ALL_SAFETIES_ON 1
#include <sol/sol.hpp> // or #include "sol.hpp", whichever suits your needs
int main(int argc, char* argv[]) {
sol::state lua;
lua.open_libraries(sol::lib::base);
lua.script("print('bark bark bark!')");
return 0;
}
|