sol2/docs/source/tutorial/cxx-in-lua.rst

4 lines
232 B
ReStructuredText
Raw Normal View History

C++ in Lua
==========
Using user defined types ("usertype"s, or just "udt"s) is simple with Sol. If you don't call any member variables or functions, then you don't even have to 'register' the usertype at all: just pass it through.