title: Returning a string table array from C to LuaJIT via FFI
body: <p>I would like to have a C function return a string table array (e.g. <code>{"a", "b", "c"}</code>) to a Lua script via LuaJIT.</p>
  
  <p>Which is the best way to do it?</p>
  
  <p>I thought of returning a single concatenated string with some separator (e.g. <code>"a|b|c"</code>) then splitting it in Lua, but I was wondering if there is a better way.</p>
  
  <p>EDIT: I'm using LuaJIT FFI to call C functions.</p>