C++ and lua call each other and explain