Exporting functions
Monkey Forums/Monkey Programming/Exporting functions
| ||
Is there any way to do this, so that a lib written in monkey could be used by another language, say C++, for example? |
| ||
did you ever play WoW, on Balnazzar or AlAkier ? EDIT: Sorry that's off topic.. On topic, Monkey only exports source code, so when you write a library and then include it into a project and build it, all that code gets converted and exported to the source of the chosen target. So you could either write the lib, and then include it into a project, build said project and then for example get your hands on the exported c++ code, and get it that way, not sure tho I think the exported code only exports the functions you call, not sure tho. I'm no monkey pro tho so hopefully some one with a bit more experience will be able to tell you more. |
| ||
Ah, I was looking for a way to generate a linkable binary lib as opposed to the source export. The current source export, I would imagine, would be tailored for standalone app code, not a library as such. So no function exports etc. did you ever play WoW, on Balnazzar or AlAkier ? Nope, another "Veggie" perhaps? :) |