Skip to content

feature(tlua): Indexable, IndexableRW, Callable

Alexey Protsenko requested to merge feature/metamethods into master
  • add Index, NewIndex & Call traits
  • add Indexable, IndexableRW, Callable structs to work with values on lua stack through the __index, __newindex & __call metamethods
  • e.g. you can work with tuple or other ffi values through lua that way

Merge request reports