[swift-users] Need Help with C-to-Swift (finally)

Gage Morgan gagemorgan at outlook.com
Fri Dec 11 16:00:41 CST 2015

I went and looked at it, and even now it looks like I want to take every function I've used in Cairo and translate it to Swift. Swift is such a...simple language compared to everything else. That being said, as a result of the specs, it is also much more verbose in terms of writing the code. Compared to other languages, it is written out instead of shoved onto a few lines.
Is there a way to import modules into other modules? Because it looks like a weekend project that will eventually get posted by myself at http://github.com/Christoffen-Corporation.

Sent from Outlook Mobile

On Fri, Dec 11, 2015 at 1:52 PM -0800, "Gage Morgan via swift-users" <swift-users at swift.org> wrote:

I meant the code posted in the Gist link above. I don't know jack squat about qsort. I'm hoping that if I can reverse-engineer code already produced, I can apply it to other parts of Cairo.

Sent from Outlook Mobile

On Fri, Dec 11, 2015 at 1:34 PM -0800, "Kwame Bryan" <kwame.bryan at gmail.com> wrote:

Tutorial on the subject. http://chris.eidhof.nl/posts/swift-c-interop.html <http://chris.eidhof.nl/posts/swift-c-interop.html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151211/086579e3/attachment.html>
-------------- next part --------------
swift-users mailing list
swift-users at swift.org

More information about the swift-users mailing list