cpp: `struct State { };` lua: ``` state_sleep = State.new() function state_sleep:execute() -- do smt end ``` above code caused a crash. does sol2 can do these stuff ?
cpp:
struct State { };lua:
above code caused a crash.
does sol2 can do these stuff ?