blob: 5aa32e2034417d367be0015825859555d0e6ba7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#define SOL_ALL_SAFETIES_ON 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;
}
|