Is it possible to have AppDataRef's lifetime non-static? #376
Answered
by
khvzak
HughHoyland
asked this question in
Q&A
-
After migrating from an earlier But I hoped I can store a reference that outlives Lua object itself. Is it, in theory, possible? I could create a fork where |
Beta Was this translation helpful? Give feedback.
Answered by
khvzak
Mar 5, 2024
Replies: 1 comment
-
Only |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HughHoyland
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only
'static
types hasTypeId
. The easiest option would be casting type to static through transmute (unsafe)