lua-users home
lua-l archive

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

Title: lua_ref(L,0)

Hi I'm using lua 4.1 alpha for my project and I'd like to reference some lua function from C
I've seen that is possible calling lua_ref withoout locking the object.
My question is If I use lua_ref(L,0) do I still have to call lua_unref() ?

thanks for your time