Importing C files
Monkey Forums/Monkey Programming/Importing C files
| ||
give me a glue.. is it possible to import lua to monkey? how?? give us "tutorial" section Mark??!!!! LuaJit2 is my target... [EDIT] ^^ and i mean this TUTORIAL like in blitbasic website is .. MUST.. |
| ||
You need to write a wrapper in Monkey which exposes the Lua commands from the C source code of the Lua C API. It's quite easy, when you first try the pure C version of the Lua C API, and then wrap a few commands for testing into Monkey. The same idea works for all C/C++ libraries (source code or DLL), and it's also the same way how 3rd party libraries were wrapped in BlitzMax. |
| ||
ok thanks. i just got monkey and im just learning it. but i still want to make some code. all what i want is to to do LuaJIT and RakMet to monkey modules. :D so if you have any skills and want that also please make my day and make those modules. heh. |
| ||
In other words: Just gimme the modulez! xD |