mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 17:12:03 +00:00
Fix visibility of symbols exported in error
This commit is contained in:
parent
9ef3e2f24d
commit
524daa19ef
6 changed files with 18 additions and 15 deletions
|
@ -44,13 +44,15 @@
|
||||||
|
|
||||||
/* This Key Value Observing Implementation is tied to libobjc2 */
|
/* This Key Value Observing Implementation is tied to libobjc2 */
|
||||||
|
|
||||||
#import <Foundation/NSObject.h>
|
#import "Foundation/NSObject.h"
|
||||||
#import <Foundation/NSString.h>
|
#import "Foundation/NSString.h"
|
||||||
#import <Foundation/NSDictionary.h>
|
#import "Foundation/NSDictionary.h"
|
||||||
#import <Foundation/NSArray.h>
|
#import "Foundation/NSArray.h"
|
||||||
#import <Foundation/NSSet.h>
|
#import "Foundation/NSSet.h"
|
||||||
#import <Foundation/NSKeyValueObserving.h>
|
#import "Foundation/NSKeyValueObserving.h"
|
||||||
#import <Foundation/NSException.h>
|
#import "Foundation/NSException.h"
|
||||||
|
|
||||||
|
#import "GSPrivate.h"
|
||||||
|
|
||||||
#if defined(__OBJC2__)
|
#if defined(__OBJC2__)
|
||||||
|
|
||||||
|
@ -114,7 +116,7 @@
|
||||||
|
|
||||||
// From NSKVOSwizzling
|
// From NSKVOSwizzling
|
||||||
void
|
void
|
||||||
_NSKVOEnsureKeyWillNotify(id object, NSString *key);
|
_NSKVOEnsureKeyWillNotify(id object, NSString *key) GS_ATTRIB_PRIVATE;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
typedef void (^DispatchChangeBlock)(_NSKVOKeyObserver *);
|
typedef void (^DispatchChangeBlock)(_NSKVOKeyObserver *);
|
||||||
|
|
||||||
NSString *
|
static NSString *
|
||||||
_NSKVCSplitKeypath(NSString *keyPath, NSString *__autoreleasing *pRemainder)
|
_NSKVCSplitKeypath(NSString *keyPath, NSString *__autoreleasing *pRemainder)
|
||||||
{
|
{
|
||||||
NSRange result = [keyPath rangeOfString:@"."];
|
NSRange result = [keyPath rangeOfString:@"."];
|
||||||
|
|
|
@ -476,7 +476,7 @@ GENERATE_NOTIFYING_SET_IMPL(notifyingSetImplPointer, void *);
|
||||||
break; \
|
break; \
|
||||||
}
|
}
|
||||||
|
|
||||||
SEL
|
static SEL
|
||||||
KVCSetterForPropertyName(NSObject *self, const char *key)
|
KVCSetterForPropertyName(NSObject *self, const char *key)
|
||||||
{
|
{
|
||||||
SEL sel = nil;
|
SEL sel = nil;
|
||||||
|
@ -649,7 +649,7 @@ _NSKVOEnsureUnorderedCollectionWillNotify(id object, NSString *key,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
static char *
|
||||||
mutableBufferFromString(NSString *string)
|
mutableBufferFromString(NSString *string)
|
||||||
{
|
{
|
||||||
NSUInteger lengthInBytes = [string length] + 1;
|
NSUInteger lengthInBytes = [string length] + 1;
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import "Foundation/NSString.h"
|
#import "Foundation/NSString.h"
|
||||||
|
#import "GSPrivate.h"
|
||||||
|
|
||||||
id
|
id
|
||||||
valueForKeyWithCaching(id obj, NSString *aKey);
|
valueForKeyWithCaching(id obj, NSString *aKey) GS_ATTRIB_PRIVATE;
|
||||||
|
|
|
@ -426,7 +426,7 @@ _getBoxedBlockForMethod(NSString *key, Method method, SEL sel, uint64_t version)
|
||||||
// resolveInstanceMethod:].
|
// resolveInstanceMethod:].
|
||||||
//
|
//
|
||||||
// objc_slot2 has the same struct layout as objc_method.
|
// objc_slot2 has the same struct layout as objc_method.
|
||||||
Method _Nullable _class_getMethodRecursive(Class aClass, SEL aSelector,
|
static Method _Nullable _class_getMethodRecursive(Class aClass, SEL aSelector,
|
||||||
uint64_t *version)
|
uint64_t *version)
|
||||||
{
|
{
|
||||||
struct objc_slot2 *slot;
|
struct objc_slot2 *slot;
|
||||||
|
|
|
@ -303,7 +303,7 @@ progress_callback(void *clientp, curl_off_t dltotal, curl_off_t dlnow,
|
||||||
*
|
*
|
||||||
* libcurl does not unfold HTTP "folded headers" (deprecated since RFC 7230).
|
* libcurl does not unfold HTTP "folded headers" (deprecated since RFC 7230).
|
||||||
*/
|
*/
|
||||||
size_t
|
static size_t
|
||||||
header_callback(char *ptr, size_t size, size_t nitems, void *userdata)
|
header_callback(char *ptr, size_t size, size_t nitems, void *userdata)
|
||||||
{
|
{
|
||||||
NSURLSessionTask *task;
|
NSURLSessionTask *task;
|
||||||
|
@ -689,7 +689,7 @@ header_callback(char *ptr, size_t size, size_t nitems, void *userdata)
|
||||||
} /* header_callback */
|
} /* header_callback */
|
||||||
|
|
||||||
/* CURLOPT_READFUNCTION: read callback for data uploads */
|
/* CURLOPT_READFUNCTION: read callback for data uploads */
|
||||||
size_t
|
static size_t
|
||||||
read_callback(char *buffer, size_t size, size_t nitems, void *userdata)
|
read_callback(char *buffer, size_t size, size_t nitems, void *userdata)
|
||||||
{
|
{
|
||||||
NSURLSession *session;
|
NSURLSession *session;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue