lua-users home
lua-l archive

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


On 27 July 2017 at 11:09, Daurnimator <quae@daurnimator.com> wrote:
> However the lua C api
> doesn't create out-of-band references: you create+manage lua
> references yourself.

I should rephrase:

The Lua C API doesn't permit out-of-band references between lua
objects: any references have to be created and dereferenced via
calling C api functions, hence meaning that the lua GC (and in
fengari's case, the JS GC) can do full sweeps.