lua-users home
lua-l archive

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


If I understand it correctly, your idea of different registries for
C functions mimics the environment system of Lua functions. Each C
function has its own registry (in the same way that each Lua function
has its own environment).  New functions share the table of its
creator. The main function of a new library creates a new environment
(registry) to be shared by all functions of that library.

Is that understanding correct?

-- Roberto