Relative Content

Tag Archive for c++lua

Pass NestedStruct from c++ to lua

I’m trying to make a c++ function address mapping with lua, so that I can do hot fix,but I can correctly pass nested struct to lua (I guess, because I print table before call lua function), but I got lua error: attempt to call a nil value. What’s wrong?