[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Caveat with lua_pushlightuserdata(L, (void *)&key)
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 26 Jun 2006 10:13:57 -0300
> 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 identiﬁers
1 - An identiﬁer 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.