Hacker News new | ask | show | jobs
by networked 3428 days ago
>it currently relies on the Objecive-C runtime which is not present on non-Apple platforms.

Maybe I misunderstand you, but this doesn't seem to be the case, at least not in Swift 3.0-RELEASE. I was able to use @_cdecl for a callback in a Tcl extension (https://tcl.wiki/48057) on Linux.

1 comments

I'm using @_cdecl on Android which doesn't have the the Obj-C runtime.