| 2 | #include <sol/sol.hpp> // or #include "sol.hpp", whichever suits your needs |
| 3 | |
| 4 | int main(int argc, char* argv[]) { |
| 5 | // silence unused warnings |
| 6 | (void)argc; |
| 7 | (void)argv; |
| 8 | |
| 9 | sol::state lua; |
| 10 | lua.open_libraries(sol::lib::base); |
| 11 | |
| 12 | lua.script("print('bark bark bark!')"); |
| 13 | |
| 14 | return 0; |
| 15 | } |
nothing calls this directly
no test coverage detected