[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: follow up questions
- From: Alex Sandro Queiroz e Silva <ventonegro@...>
- Date: Wed, 06 Aug 2003 12:29:49 -0300
UriBoy b wrote:
What do you mean? Is the application written in another language? If
so, one must write a binding of Lua to the other language.
lua calls the C and C++ functions side of the application to apply the new configuration right? is it possible that the original program / application does not have C and C++ functions in it? if it is, what does lua do about these cases?
All the C functions to be registered in Lua must have the same
signature and must follow the same protocol, as specified in the
language reference document.
and im sorry, not that im pushing my luck, but are steps or something similar that lua follows to call out C and C++ functions to apply the new configurations?
last one, if you are making a totally new program / application using lua, how does luac compile the whole thing? i mean, is it still a given that C and C++ functions are present and can automatically be called out and thus making the new application work (assuming no errors were committed)?
Luac only compiles the Lua sources, not the whole application.