lua-users home
lua-l archive

Re: Caveat with lua_pushlightuserdata(L, (void *)&key)

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


> Maybe someone orthogonalized the linker a bit too much. I still
> think it's not forbidden by the various C standards.
I think it is. ANSI C99 says this about linkage:
 6.2.2 Linkages of identifiers
 1 - An identifier declared in different scopes or in the same scope
 more than once can be made to refer to the same object or function by
 a process called linkage.(21)
 (21) THERE IS NO LINKAGE BETWEEN DIFFERENT IDENTIFIERS.
(my emphasis)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /