mirror of
https://github.com/darlinghq/darling-corefoundation.git
synced 2024-11-23 03:49:40 +00:00
Add missing CFStream constant
This commit is contained in:
parent
5a22df59f9
commit
f8ed593701
@ -360,6 +360,8 @@ CONST_STRING_DECL(kCFStreamPropertySocketRemotePortNumber, "kCFStreamPropertySoc
|
||||
CONST_STRING_DECL(kCFStreamPropertyDataWritten, "kCFStreamPropertyDataWritten")
|
||||
CONST_STRING_DECL(kCFStreamPropertyAppendToFile, "kCFStreamPropertyAppendToFile")
|
||||
|
||||
CONST_STRING_DECL(kCFStreamPropertySourceApplication, "kCFStreamPropertySourceApplication")
|
||||
|
||||
CF_PRIVATE void __CFStreamInitialize(void) {
|
||||
static dispatch_once_t initOnce;
|
||||
dispatch_once(&initOnce, ^{ __kCFReadStreamTypeID = _CFRuntimeRegisterClass(&__CFReadStreamClass); __kCFWriteStreamTypeID = _CFRuntimeRegisterClass(&__CFWriteStreamClass); });
|
||||
|
@ -129,6 +129,9 @@ const CFStringRef kCFStreamPropertySocketRemoteHostName;
|
||||
CF_EXPORT
|
||||
const CFStringRef kCFStreamPropertySocketRemotePortNumber;
|
||||
|
||||
CF_EXPORT
|
||||
const CFStringRef kCFStreamPropertySourceApplication;
|
||||
|
||||
CF_IMPLICIT_BRIDGING_DISABLED
|
||||
/* Socket streams; the returned streams are paired such that they use the same socket; pass NULL if you want only the read stream or the write stream */
|
||||
CF_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user