Skip to content

Commit 472d402

Browse files
authored
Merge pull request #7 from killev/master
Master
2 parents 9850961 + dadd4b0 commit 472d402

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

UV/Async.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public typealias uv_async_p = UnsafeMutablePointer<uv_async_t>
2121

2222
public typealias AsyncCallback = (Async) -> Void
2323

24-
open class Async : Handle<uv_async_p> {
24+
public class Async : Handle<uv_async_p> {
2525
fileprivate let callback:AsyncCallback
2626

2727
public init(loop:Loop, callback:@escaping AsyncCallback) throws {

UV/Loop.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Boilerplate
1919

2020
public typealias uv_loop_p = UnsafeMutablePointer<uv_loop_t>
2121

22-
open class Loop {
22+
public class Loop {
2323
fileprivate let exclusive:Bool
2424
open let loop:uv_loop_p
2525

UV/Prepare.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public typealias uv_prepare_p = UnsafeMutablePointer<uv_prepare_t>
2222

2323
public typealias PrepareCallback = (Prepare) -> Void
2424

25-
open class Prepare : Handle<uv_prepare_p> {
25+
public class Prepare : Handle<uv_prepare_p> {
2626
fileprivate let callback:PrepareCallback
2727

2828
public init(loop:Loop, callback:@escaping PrepareCallback) throws {

UV/Request.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public protocol RequestCallbackCaller {
5555
associatedtype RequestCallback = (Self, Error?)->Void
5656
}
5757

58-
open class Request<Type: uv_request_type> : RequestCallbackCaller {
58+
public class Request<Type: uv_request_type> : RequestCallbackCaller {
5959
public typealias RequestCallback = (Request, Error?)->Void
6060

6161
internal let _req:UnsafeMutablePointer<Type>

UV/Stream.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private struct UVData : DataProtocol {
107107
}
108108
}
109109

110-
open class Data : DataProtocol {
110+
public class Data : DataProtocol {
111111
fileprivate let buffer:uv_buf_t
112112
fileprivate let data:[UInt8]
113113

@@ -142,17 +142,17 @@ public protocol ReadCallbackCaller {
142142
associatedtype ReadCallback = (Self, Result<DataProtocol, Error>)->Void
143143
}
144144

145-
open class ShutdownRequest : Request<uv_shutdown_t> {
145+
public class ShutdownRequest : Request<uv_shutdown_t> {
146146
}
147147

148-
open class WriteRequest : Request<uv_write_t> {
148+
public class WriteRequest : Request<uv_write_t> {
149149
}
150150

151151
internal protocol StreamProtocol : ReadCallbackCaller {
152152
func fresh(on loop:Loop, readCallback:Self.ReadCallback) throws -> Self
153153
}
154154

155-
open class Stream<Type : uv_stream_type> : Handle<Type>, SimpleCallbackCaller, ReadCallbackCaller, StreamProtocol {
155+
public class Stream<Type : uv_stream_type> : Handle<Type>, SimpleCallbackCaller, ReadCallbackCaller, StreamProtocol {
156156

157157
public typealias SimpleCallback = (Stream)->Void
158158
public typealias ReadCallback = (Stream, Result<DataProtocol, Error>)->Void

UV/TCP.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public typealias uv_tcp_p = UnsafeMutablePointer<uv_tcp_t>
2424
extension uv_connect_t : uv_request_type {
2525
}
2626

27-
open class ConnectRequest : Request<uv_connect_t> {
27+
public class ConnectRequest : Request<uv_connect_t> {
2828
}
2929

3030
public final class TCP : Stream<uv_tcp_p> {

UV/Timer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public typealias uv_timer_p = UnsafeMutablePointer<uv_timer_t>
2121

2222
public typealias TimerCallback = (Timer) -> Void
2323

24-
open class Timer : Handle<uv_timer_p> {
24+
public class Timer : Handle<uv_timer_p> {
2525
fileprivate let callback:TimerCallback
2626

2727
public init(loop:Loop, callback:@escaping TimerCallback) throws {

0 commit comments

Comments
 (0)