mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Headers/Foundation/NSXPCConnection.h,
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
This commit is contained in:
parent
879bd3bb55
commit
1915415b48
3 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2019-11-14 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Headers/Foundation/NSXPCConnection.h,
|
||||
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
|
||||
|
||||
2019-11-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* NSTimeZones/NSTimeZones.tar: updated to latest info
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
@class NSMutableDictionary, NSString, NSOperationQueue, NSSet<ObjectType>, NSLock, NSError;
|
||||
@class NSMutableDictionary, NSString, NSOperationQueue, NSSet, NSLock, NSError;
|
||||
@class NSXPCConnection, NSXPCListener, NSXPCInterface, NSXPCListenerEndpoint;
|
||||
@protocol NSXPCListenerDelegate;
|
||||
|
||||
DEFINE_BLOCK_TYPE(GSXPCProxyErrorHandler, void, NSError *);
|
||||
DEFINE_BLOCK_TYPE(GSXPCInterruptionHandler, void, void);
|
||||
DEFINE_BLOCK_TYPE(GSXPCInvalidationHandler, void, void);
|
||||
DEFINE_BLOCK_TYPE_NO_ARGS(GSXPCInterruptionHandler, void);
|
||||
DEFINE_BLOCK_TYPE_NO_ARGS(GSXPCInvalidationHandler, void);
|
||||
|
||||
|
||||
@protocol NSXPCProxyCreating
|
||||
|
@ -83,9 +83,9 @@ typedef NSUInteger NSXPCConnectionOptions;
|
|||
- (id) remoteObjectProxy;
|
||||
- (void) setRemoteObjectProxy: (id)remoteObjectProxy;
|
||||
|
||||
- (id) remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler;
|
||||
- (id) remoteObjectProxyWithErrorHandler:(GSXPCProxyErrorHandler)handler;
|
||||
|
||||
- (id) synchronousRemoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler;
|
||||
- (id) synchronousRemoteObjectProxyWithErrorHandler:(GSXPCProxyErrorHandler)handler;
|
||||
|
||||
- (GSXPCInterruptionHandler) interruptionHandler;
|
||||
- (void) setInterruptionHandler: (GSXPCInterruptionHandler)handler;
|
||||
|
|
|
@ -87,12 +87,12 @@
|
|||
{
|
||||
}
|
||||
|
||||
- (id) remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler
|
||||
- (id) remoteObjectProxyWithErrorHandler:(GSXPCProxyErrorHandler)handler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) synchronousRemoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler
|
||||
- (id) synchronousRemoteObjectProxyWithErrorHandler:(GSXPCProxyErrorHandler)handler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue