lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> I think it would still be helpful to clarify this in the yield docs,
> as is done e.g. for lua_error.

The docs states this:

  This function should only be called as the return expression of a C
  function, as follows:

     return lua_yieldk (L, n, i, k);

Therefore, its return value (or whether it returns at all) is irrelevant;
your code will never see it.

-- Roberto