sol2/examples/source/wip/lua_inheritance.cpp
ThePhD 486086ffe0
fix up CMake files once more, and hopefully prepare for a new test coverage paradigm
notably, test normal + single + generated + Lua 5.3.5 only once,
then only run the runtime_test and compile_test for normal for all other permutations to help increase text matrix throughput
2018-12-27 02:17:25 -05:00

20 lines
420 B
C++

#define SOL_CHECK_ARGUMENTS 1
#include <sol/sol.hpp>
#include <assert.hpp>
#include <iostream>
int main(int, char*[]) {
std::cout << "=== lua inheritance ===" << 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;
}