Can I call c++ functions from swift?

Thanks to anyone who can answer this.

You can use and call C APIs in a static library from Silver in Cocoa by importing the library and its header file wih FXGen. Is that what you are looking for?

Thank you for the response. That might be what i need. i will look into fxgen.

1 Like

You’ll wanna start at

http://docs.elementscompiler.com/Tools/FXGen/
http://docs.elementscompiler.com/Platforms/Cocoa/ImportingLibraries/