luafar/src/exported.c
const wchar_t* _AddStringToCollector(lua_State *L, int pos)
{
  if (lua_isstring(L,-1)) {
    const wchar_t* s = check_utf8_string (L, -1, NULL);
    lua_rawseti(L, pos, lua_objlen(L, pos) + 1);
    return s;
  }
  lua_pop(L,1);
  return NULL;
}
// the value is on stack top (-1)
// collector table is under the index 'pos' (this index cannot be a pseudo-index)
the value is on stack top (-1)
collector table is under the index 'pos' (this index cannot be a pseudo-index)
the value is on stack top ( - 1 ) collector table is under the index ' pos ' ( this index cannot be a pseudo - index )
const wchar_t* _AddStringToCollector(lua_State *L, int pos)
{
  if (lua_isstring(L,-1)) {
    const wchar_t* s = check_utf8_string (L, -1, NULL);
    lua_rawseti(L, pos, lua_objlen(L, pos) + 1);
    return s;
  }
  lua_pop(L,1);
  return NULL;
}
const wchar_t * _AddStringToCollector ( lua_State * L , int pos ) { if ( lua_isstring ( L , -1 ) ) { const wchar_t * s = check_utf8_string ( L , -1 , NULL ) ; lua_rawseti ( L , pos , lua_objlen ( L , pos ) + 1 ) ; return s ; } lua_pop ( L , 1 ) ; return NULL ; }
the value is on stack top (-1)
collector table is under the index 'pos' (this index cannot be a pseudo-index)
the value is on stack top ( - 1 ) collector table is under the index ' pos ' ( this index cannot be a pseudo - index )