sol2/examples/wip/lua_inheritance.cpp
2017-12-26 01:11:09 -05:00

20 lines
427 B
C++

#define SOL_CHECK_ARGUMENTS 1
#include <sol.hpp>
#include "../assert.hpp"
#include <iostream>
int main(int, char*[]) {
std::cout << "=== lua inheritance example ===" << std::endl;
sol::state lua;
lua.open_libraries(sol::lib::base);
/* This example is currently under construction.
For inheritance and classes within Lua,
consider using kikito's middleclass
-- https://github.com/kikito/middleclass */
return 0;
}