luafar/src/exported.c
void* AddBufToCollector(lua_State *L, int pos, size_t size)
{
  if (pos < 0) --pos;
  void* t = lua_newuserdata(L, size);
  memset (t, 0, size);
  lua_rawseti(L, pos, lua_objlen(L, pos) + 1);
  return t;
}
// collector table is under the index 'pos' (this index cannot be a pseudo-index)
collector table is under the index 'pos' (this index cannot be a pseudo-index)
collector table is under the index ' pos ' ( this index cannot be a pseudo - index )
void* AddBufToCollector(lua_State *L, int pos, size_t size)
{
  if (pos < 0) --pos;
  void* t = lua_newuserdata(L, size);
  memset (t, 0, size);
  lua_rawseti(L, pos, lua_objlen(L, pos) + 1);
  return t;
}
void * AddBufToCollector ( lua_State * L , int pos , size_t size ) { if ( pos < 0 ) -- pos ; void * t = lua_newuserdata ( L , size ) ; memset ( t , 0 , size ) ; lua_rawseti ( L , pos , lua_objlen ( L , pos ) + 1 ) ; return t ; }
collector table is under the index 'pos' (this index cannot be a pseudo-index)
collector table is under the index ' pos ' ( this index cannot be a pseudo - index )