mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fix for bug #399
This commit is contained in:
parent
53b02bab91
commit
a5beb6ab31
4 changed files with 55 additions and 16 deletions
|
@ -33,6 +33,7 @@
|
|||
@class _GSMutableInsensitiveDictionary;
|
||||
|
||||
@class NSNotification;
|
||||
@class NSRecursiveLock;
|
||||
|
||||
#if ( (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) ) && HAVE_VISIBILITY_ATTRIBUTE )
|
||||
#define GS_ATTRIB_PRIVATE __attribute__ ((visibility("internal")))
|
||||
|
@ -422,6 +423,13 @@ GSPrivateLoadModule(NSString *filename, FILE *errorStream,
|
|||
void (*loadCallback)(Class, struct objc_category *),
|
||||
void **header, NSString *debugFilename) GS_ATTRIB_PRIVATE;
|
||||
|
||||
/* Return a private global recursive lock for protecting internal
|
||||
* data structures before aother locks have been initialised.
|
||||
* Implemented in NSLock.m
|
||||
*/
|
||||
NSRecursiveLock *
|
||||
GSPrivateGlobalLock() GS_ATTRIB_PRIVATE;
|
||||
|
||||
/* Get the native C-string encoding as used by locale specific code in the
|
||||
* operating system. This may differ from the default C-string encoding
|
||||
* if the latter has been set via an environment variable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue