Reputation: 2200
I want to pass a Lua script (code that Lua interpreter can process) from C++ and get the result back.
I looked online but could not find any example that would help me. I am able to call a Lua function from C++, but that requires you to create a file with Lua function.
Upvotes: 4
Views: 386