When developing for iphone on Swifte , it became necessary to call a function in C++ . This task is easily handled. But inside a function in С++ , it became necessary to pull a function from Swifta .

Question: Is it possible in principle to call a function in Swifte from C++ ? If so, how to do it? If it is impossible, then what are the fundamental, invincible restrictions?

  • It is strange that there are no answers. 1) If swift supports COM (ActiveX) then pull the interface in with ++ you have a direct connection. 2) In the extreme case - the connection can be made with any cross-process things, i.e. pipe, socket and others. - nick_n_a
  • @nick_n_a and maybe you are friends with a github, give a reference? - Andrew Kachalin

0