Learn how to use Lua C API