Re: Caveat with lua_pushlightuserdata(L, (void *)&key)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Caveat with lua_pushlightuserdata(L, (void *)&key)
- From: Raffaele Salmaso <raffaele.salmaso@...>
- Date: 2006年6月28日 00:40:45 +0200
Diego Nehab ha scritto:
Don't you have to declare the variable static? Otherwise I
believe it's ok to leave the value uninitialized (at least in C).
oh, yes
it's C++ with static default, not C
--
()_() | NN KAPISCO XK' CELLHAVETE T'ANNTO CN ME SL | +----
(o.o) | XK' SKRIVO 1 P'HO VELLOCE MA HALL'ORA DITTELO | +---+
'm m' | KE SIETE VOI K CI HAVVETE PROBBLEMI NO PENSATECI | O |
(___) | HE SENZA RANKORI CIAOOOO |
raffaele punto salmaso at gmail punto com
- References:
- Caveat with lua_pushlightuserdata(L, (void *)&key), Mike Pall
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Julien Cugnière
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Andreas Stenius
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), David Jones
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Glenn Maynard
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Roberto Ierusalimschy
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Mike Pall
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), David Given
- Re: Caveat with lua_pushlightuserdata(L, (void *)&key), Diego Nehab