Compiling Swift Module 'ysocket' (3 sources)
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:9: error: expected declaration
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:9: error: expected declaration
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:9: error: expected declaration
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:9: error: expected declaration
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:9: error: expected declaration
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:9: error: expected declaration
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:9: error: expected declaration
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:9: error: expected declaration
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:9: error: expected declaration
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:9: error: expected declaration
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:9: error: expected declaration
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:9: error: expected declaration
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:9: error: expected declaration
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:9: error: expected declaration
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:9: error: expected declaration
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:9: error: expected declaration
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:9: error: expected declaration
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:9: error: expected declaration
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:9: error: expected declaration
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:9: error: expected declaration
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:9: error: expected declaration
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:9: error: expected declaration
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:9: error: expected declaration
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:9: error: expected declaration
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:36: error: expected '{' in body of function declaration
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:36: error: expected '{' in body of function declaration
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:35: error: expected '{' in body of function declaration
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:36: error: expected '{' in body of function declaration
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:43: error: expected '{' in body of function declaration
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:36: error: expected '{' in body of function declaration
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:9: error: expected declaration
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:9: error: expected declaration
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:9: error: expected declaration
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:9: error: expected declaration
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:9: error: expected declaration
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:9: error: expected declaration
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:33:9: error: expected declaration
@asmname("yudpsocket_server") func c_yudpsocket_server(host:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:34:9: error: expected declaration
@asmname("yudpsocket_recive") func c_yudpsocket_recive(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:35:9: error: expected declaration
@asmname("yudpsocket_close") func c_yudpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:36:9: error: expected declaration
@asmname("yudpsocket_client") func c_yudpsocket_client() -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:37:9: error: expected declaration
@asmname("yudpsocket_get_server_ip") func c_yudpsocket_get_server_ip(host:UnsafePointer<Int8>,ip:UnsafePointer<Int8>) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:2: error: unknown attribute 'asmname'
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/yudpsocket.swift:38:9: error: expected declaration
@asmname("yudpsocket_sentto") func c_yudpsocket_sentto(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,ip:UnsafePointer<Int8>,port:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:32:37: error: expected '{' in body of function declaration
@asmname("ytcpsocket_connect") func c_ytcpsocket_connect(host:UnsafePointer<Int8>,port:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:33:35: error: expected '{' in body of function declaration
@asmname("ytcpsocket_close") func c_ytcpsocket_close(fd:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:34:34: error: expected '{' in body of function declaration
@asmname("ytcpsocket_send") func c_ytcpsocket_send(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:35:34: error: expected '{' in body of function declaration
@asmname("ytcpsocket_pull") func c_ytcpsocket_pull(fd:Int32,buff:UnsafePointer<UInt8>,len:Int32,timeout:Int32) -> Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:36:36: error: expected '{' in body of function declaration
@asmname("ytcpsocket_listen") func c_ytcpsocket_listen(addr:UnsafePointer<Int8>,port:Int32)->Int32
^
/Users/ivan/projects/github/SwiftSocket/SwiftSocket/ysocket/ytcpsocket.swift:37:36: error: expected '{' in body of function declaration
@asmname("ytcpsocket_accept") func c_ytcpsocket_accept(onsocketfd:Int32,ip:UnsafePointer<Int8>,port:UnsafePointer<Int32>) -> Int32
^
<unknown>:0: error: build had 1 command failures
swift-build: exit(1): ["/Library/Developer/Toolchains/swift-2.2-SNAPSHOT-2015-12-01-a.xctoolchain/usr/bin/swift-build-tool", "-f", "/Users/ivan/projects/github/SwiftSocket/SwiftSocket/.build/debug/SwiftSocket.o/llbuild.yaml"]