Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ createUserData
Method
createUserData
source/core/StarLua.hpp:1903–1905 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1901
1902
template <typename T>
1903
LuaUserData LuaContext::createUserData(T t) {
1904
return engine().createUserData(std::move(t));
1905
}
1906
1907
template <typename T>
1908
LuaMethods<T> LuaUserDataMethods<T>::make() {
Callers
3
from
Method · 0.80
TEST
Function · 0.80
readImage
Method · 0.80
Calls
7
lua_checkstack
Function · 0.85
lua_newuserdata
Function · 0.85
lua_rawgeti
Function · 0.85
lua_setmetatable
Function · 0.85
LuaUserData
Class · 0.85
LuaHandle
Class · 0.85
get
Method · 0.45
Tested by
1
TEST
Function · 0.64