Call a foreign-language function: Difference between revisions

Content added Content deleted
(updated ....)
Line 2,780: Line 2,780:
;end
;end
</lang>
</lang>
====Lua====
but that's not very fun. So let's run some lua script insted.
Using the liblua that comes with Lua 5.2(?). Assembling is the same as always, Link with a -llua using clang or gcc.
<lang asm>
<lang asm>
option casemap:none
option casemap:none