Using native (C/C++) code

I cooked a set of minimal examples for Kha a while ago which should also come helpful.

Calling C++ from Haxe:

Creating C++ externs for a nicer integration:

Calling functions from .dll/.so:

Will add a topic on that to the manual…

4 Likes