lua-users home
lua-l archive

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


something like 


local my_url = setmetatable("",UrlMeta)

On Sun, May 3, 2015 at 7:03 AM, Sam Putman <atmanistan@gmail.com> wrote:


On Sun, May 3, 2015 at 6:53 AM, Nagaev Boris <bnagaev@gmail.com> wrote:

Lua uses one metatable for all strings.


Indeed. My desire is to be able to extend particular strings by putting a metatable
between the pointer to the interned string and the global string metatable.


 
--


Best regards,
Boris Nagaev