effil/tests/cpp/test-utils.h
2017-02-08 00:06:26 +03:00

18 lines
295 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