You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add documentation to lua_type_traits. I'm not really sure what the members mean, especially weakTypeTest and typeTest (their difference). Probably rename them (I guess weakTypeTest means: isConvertible and typeTest means isType)
Especially confusing is the implementation of template<> struct lua_type_traits<void> of which I assume is taken when a void* is pushed or retrieved. Is it actually possible to do state["value"] = (void*) 0xDEAD; and retrieve it? If so, can you outline what happens/which traits are used?
The text was updated successfully, but these errors were encountered:
Please add documentation to
lua_type_traits
. I'm not really sure what the members mean, especiallyweakTypeTest
andtypeTest
(their difference). Probably rename them (I guessweakTypeTest
means:isConvertible
andtypeTest
meansisType
)Especially confusing is the implementation of
template<> struct lua_type_traits<void>
of which I assume is taken when avoid*
is pushed or retrieved. Is it actually possible to dostate["value"] = (void*) 0xDEAD;
and retrieve it? If so, can you outline what happens/which traits are used?The text was updated successfully, but these errors were encountered: