[swift-users] How to return value in void * C pointer ?

Biala bialata at yahoo.com
Thu Feb 16 09:59:40 CST 2017


Hello,
Using the Apple core audio I come to this problem: I have to implement a callback method that is called by the API. As a variable I get a class with void * member. I have to allocate some object in memory and assign this void* member to point to it.How can I do this in SWIFT?

Regards,Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170216/003c5d76/attachment.html>


More information about the swift-users mailing list