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
Add explicit support for iterating over parts of the API
Namely (in order of most useful to least):
Make gm's gm.call__index contributions iterable (could be gm.functions)
An iterable wrapper for global variables (could be gm.globals)
An iterable wrapper for a CInstance's instance variables (could be CInstance.variables, this can be done purely in lua but would not need marshalling if it had built-in lua-value translation for RValues)
Add explicit support for iterating over parts of the API
Namely (in order of most useful to least):
gm
'sgm.call
__index
contributions iterable (could begm.functions
)gm.globals
)CInstance.variables
, this can be done purely in lua but would not need marshalling if it had built-in lua-value translation for RValues)__pairs
andnext
support in general for sol objects (this can be done purely in lua, but it is awkward)__pairs
andnext
support in general for enumeration tables (it can be done purely in lua since their__index
is a raw table)For most of these, instead of separate iterable objects they could be done by extending
__pairs
andnext
on the existing structures.The text was updated successfully, but these errors were encountered: