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