MCPcopy Create free account
hub / github.com/ThePhD/sol2 / object

Class object

examples/source/read_only.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <iostream>
5
6struct object {
7 void my_func() {
8 std::cout << "hello\n";
9 }
10};
11
12int deny(lua_State* L) {
13 return luaL_error(L, "HAH! Deniiiiied!");

Callers 8

my_nextFunction · 0.70
dynamic_setMethod · 0.70
fancy_funcFunction · 0.70
register_thing_typeFunction · 0.70
getMethod · 0.70
set_default_stateFunction · 0.50
require_coreMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected