[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Converting C Code to Lua
- From: Vafa Khalighi <vafa@...>
- Date: Sat, 3 Apr 2010 15:35:26 +1100
In what sense? Do you want to use your compiled C function in Lua, or do you want to convert a C procedure into its equivalent in Lua? If the latter, it depends on how complex the code in question is: mathematic operations can be copied and pasted with no changes, but things such as pointer arithmetic will require heavy re-architecting of the code's design.
Thanks. I meant the latter. It seems I have got to rewrite them then.