[aquaria] Patch_to_run_Lua_scripts_as_threads
Andrew Church
achurch+aquaria at achurch.org
Sat Jul 3 21:20:35 EDT 2010
>From: achurch+aquaria at achurch.org
>
>> So I was giving this variable table idea some thought, and a potential
>problem occurred to me: How do you differentiate between functions from
>different scripts?
>
>I don't know Lua (and I'm not at a computer right now) but is there a variable like Ruby's __FILE__? I think C has the same thing?
I'm not sure, but the problem is that the function identifiers from all
scripts get registered in the global identifier table -- and they have
to have specific predefined names so they can be called from the C code.
--Andrew Church
achurch at achurch.org
http://achurch.org/
More information about the aquaria
mailing list