I have built the C code with the CLang compiler.
How do I tell the Swift Code about the foo symbol? That kind of is my question.
In XCode on the Mac you just include a c file in the project and voila! It ask you if you want to have a bridging header, you say yes and it's done.
oh well, I have been doing some reading since yesterday and realize that I have to do some kind of package, and that I have to know how git works as well. I have seen a number of posts but it is clear as mud. Looks lot more complicated than to learn Swift in the first place :(