[swift-users] Importing struct from C API (FUSE) with member init

Dennis Schafroth dennis at schafroth.com
Sun Jan 8 03:11:46 CST 2017

Is there any solutions to importing structs from C API where there is a member init.

The fuse_operations is a struct with callbacks functions and one is called init 

struct fuse_operations {

	void *(*init) (struct fuse_conn_info *conn);

This seems to collide with the Swift init method on imported C struct

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170108/d1983584/attachment.html>

More information about the swift-users mailing list