effil/tests/cpp/test-utils.h
2017-02-18 14:06:30 +03:00

14 lines
253 B
C++

#pragma once
#include "shared-table.h"
#include <sol.hpp>
namespace effil {
inline void bootstrapState(sol::state& lua) {
lua.open_libraries(sol::lib::base, sol::lib::string, sol::lib::table);
SharedTable::getUserType(lua);
}
} // namespace