MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / from

Method from

source/core/StarLua.hpp:1913–1915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1911
1912template <typename T>
1913LuaValue LuaUserDataConverter<T>::from(LuaEngine& engine, T t) {
1914 return engine.createUserData(std::move(t));
1915}
1916
1917template <typename T>
1918Maybe<T> LuaUserDataConverter<T>::to(LuaEngine&, LuaValue const& v) {

Callers

nothing calls this directly

Calls 1

createUserDataMethod · 0.80

Tested by

no test coverage detected