Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ sol_lua_push
Function
sol_lua_push
examples/source/customization_global_transparent_argument.cpp:50–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
int sol_lua_push(sol::types<GlobalResource*>, lua_State* L,
51
GlobalResource* ls) {
52
// push light userdata
53
return sol::stack::push(L, static_cast<void*>(ls));
54
}
55
56
int main() {
57
Callers
nothing calls this directly
Calls
1
push
Function · 0.85
Tested by
no test coverage detected