MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / register_

Method register_

Source/Misc/luabind/luabind/function.hpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 {}
25
26 void register_(lua_State* L) const
27 {
28 object fn = make_function(L, f, deduce_signature(f), policies);
29
30 add_overload(
31 object(from_stack(L, -1))
32 , name
33 , fn
34 );
35 }
36
37 char const* name;
38 F f;

Callers

nothing calls this directly

Calls 5

make_functionFunction · 0.85
deduce_signatureFunction · 0.85
add_overloadFunction · 0.85
from_stackClass · 0.85
objectClass · 0.70

Tested by

no test coverage detected