Calling c function from Hashlink (bytecode mode)

Look like we have a fairly straightforward way to call an external c function (from a shared object) with hxcpp or neko target (C Foreign Function Interface - Haxe), may I ask how to do the same for HL (bytecode mode)? thank you very much in advance!

thank you very much for the pointer! It is not as straightforward as I hoped for but it is definitely positive that it is doable and the overhead is I think managable! thank you again!

I’d created a while ago a little project, I think is what you want: GitHub - josuigoa/hl-extension