mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
- combine *-macos-* → any-macos-any - SDK headers as a single tree support targeting multiple arch/versions - bump to SDK 14.0 (release candidate)
26 lines
715 B
C
Vendored
26 lines
715 B
C
Vendored
#ifndef __XPC_ENDPOINT_H__
|
|
#define __XPC_ENDPOINT_H__
|
|
|
|
__BEGIN_DECLS
|
|
|
|
/*!
|
|
* @function xpc_endpoint_create
|
|
* Creates a new endpoint from a connection that is suitable for embedding into
|
|
* messages.
|
|
*
|
|
* @param connection
|
|
* Only connections obtained through calls to xpc_connection_create*() may be
|
|
* given to this API. Passing any other type of connection is not supported and
|
|
* will result in undefined behavior.
|
|
*
|
|
* @result
|
|
* A new endpoint object.
|
|
*/
|
|
__OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_5_0)
|
|
XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1
|
|
xpc_endpoint_t _Nonnull
|
|
xpc_endpoint_create(xpc_connection_t _Nonnull connection);
|
|
|
|
__END_DECLS
|
|
|
|
#endif // __XPC_ENDPOINT_H__
|