mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
39944dd5e9
commit
57a828c7c7
113 changed files with 884 additions and 641 deletions
|
@ -18,8 +18,8 @@
|
|||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
|
||||
AutogsdocSource: NSZone.m
|
||||
AutogsdocSource: NSPage.m
|
||||
|
@ -28,6 +28,7 @@
|
|||
|
||||
#ifndef __NSZone_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSZone_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
/**
|
||||
* Primary structure representing an <code>NSZone</code>. Technically it
|
||||
|
@ -53,7 +54,7 @@
|
|||
*/
|
||||
typedef struct _NSZone NSZone;
|
||||
|
||||
#include <Foundation/NSObjCRuntime.h>
|
||||
#import <Foundation/NSObjCRuntime.h>
|
||||
|
||||
@class NSString;
|
||||
|
||||
|
@ -246,7 +247,7 @@ GS_ZONE_SCOPE NSString* NSZoneName (NSZone *zone)
|
|||
return nil;
|
||||
}
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
|
||||
/**
|
||||
* Allocates mmemory of size bytes from zone, with the assumption that the
|
||||
|
@ -387,7 +388,7 @@ GS_ZONE_SCOPE NSString* NSZoneName (NSZone *zone)
|
|||
return zone->name;
|
||||
}
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
GS_ZONE_SCOPE void*
|
||||
NSZoneMallocAtomic (NSZone *zone, size_t size) GS_ZONE_ATTR;
|
||||
|
||||
|
@ -428,7 +429,7 @@ GS_ZONE_SCOPE struct NSZoneStats NSZoneStats (NSZone *zone)
|
|||
zone = NSDefaultMallocZone();
|
||||
return (zone->stats)(zone);
|
||||
}
|
||||
#endif /* NO_GNUSTEP */
|
||||
#endif /* GS_API_NONE */
|
||||
|
||||
#endif /* GS_WITH_GC */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue