[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [lua-l] Digest Number 510
- From: darkgod@...
- Date: Tue, 30 Oct 2001 19:46:24 +0100
> Message: 1
> Date: Mon, 29 Oct 2001 10:32:43 -0200
> From: Waldemar Celes <celes@inf.puc-rio.br>
> Subject: Re: Lua struct passed to C functions
> >So basically how do I declare a tablme/struct in lua based on a C
> >type so I can pass it to C funtions ?
> >
> >
> >PS: I use tolua to externalize the API and lua 3.2
> local obj = MagicPower{ name = "object name", ... }
>
> in both cases, "obj" can be passed as parameter to any other
> function, mapped via tolua, that expects a magic_powrer object.
>
> hope this helps.
Yeah thanks much !
> Message: 7
> Date: Tue, 30 Oct 2001 10:34:41 +0100
> From: Oscar Lazzarino <osk@cclinf.polito.it>
> Subject: comp.lang.lua?
>
> What about a comp.lang.lua newsgroup? I think it could be much more
> pratical than a mailing list... It could be much noiser, too. What do
> you people think about it?
Lua deserves to be known !it would be a good way to achieve that
-----------------------+----------------------------------------------
DarkGod comes from | Do not meddle in the affairs of wizards
the hells for YOU ! :) | because they are subtle and quick to anger.
-----------------------+----------------------------------------------
Pe W Olorin YSo L:50 DL:696 A+++ R+++ Sp++ w:Mage Staff of Mana(240%)
Pe*/M(Km)(Cr)(NH) D H- D c++ f- PV s- TT- d++ P++ M+ C- S++ I+++ So++ B/-
ac- GHB- SQ+ RQ V+++ F:Mage playing Mage-like(see Pernangband Sorcerors)
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif