mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix minor documentation errors
This commit is contained in:
parent
1f5af5388b
commit
384a0de0ba
2 changed files with 7 additions and 7 deletions
|
@ -44,7 +44,7 @@ extern "C" {
|
|||
* IDENT is considered uninitialized, if it contains nil.
|
||||
* CLASSNAME must be either NSLock, NSRecursiveLock or one
|
||||
* of their subclasses.
|
||||
* See [NSLock+newLockAt:] for details.
|
||||
* See [NSLock(GNUstepBase)+newLockAt:] for details.
|
||||
* This macro is intended for code that cannot insure
|
||||
* that a lock can be initialized in thread safe manner otherwise.
|
||||
* <example>
|
||||
|
|
|
@ -112,9 +112,9 @@ extern "C" {
|
|||
@end
|
||||
|
||||
/** This is an informal protocol; classes may implement the
|
||||
* +contentSizeOf:declaredIn:excluding: method to report how much memory
|
||||
* +contentSizeOf:excluding: method to report how much memory
|
||||
* is used by any objects/pointers it acts as a container for.<br />
|
||||
* Code may call the -sizeInBytesExcluding: or -sizeinBytes method to
|
||||
* Code may call the -sizeInBytesExcluding: or -sizeInBytes method to
|
||||
* determine how much heap memory an object (and its content) occupies.
|
||||
*/
|
||||
@interface NSObject(MemoryFootprint)
|
||||
|
@ -186,7 +186,7 @@ extern "C" {
|
|||
* is immutable or if locking is used to prevent mutation while calculating
|
||||
* content size).<br />
|
||||
* Subclasses may use the +contentSizeOf:excluding: method as a convenience
|
||||
* to provide the sizes of object instnce variables.
|
||||
* to provide the sizes of object instance variables.
|
||||
*/
|
||||
- (NSUInteger) sizeOfContentExcluding: (NSHashTable*)exclude;
|
||||
|
||||
|
@ -271,9 +271,9 @@ extern "C" {
|
|||
+ (BOOL) registerAtExit: (SEL)aSelector;
|
||||
|
||||
/** Specifies the default cleanup behavior on process exit ... the value
|
||||
* returned by the NSObject implementation of the +shouldClanUp method.<br />
|
||||
* Calling this method with a YES argument implicitly calls the +enableAtExit
|
||||
* method as well.<br />
|
||||
* returned by the NSObject implementation of the +shouldCleanUp method.<br />
|
||||
* Calling this method with a YES argument implicitly enables the support for
|
||||
* cleanup at exit.<br />
|
||||
* The GNUstep Base library calls this method with the value obtained from
|
||||
* the GNUSTEP_SHOULD_CLEAN_UP environment variable when NSObject is
|
||||
* initialised.
|
||||
|
|
Loading…
Reference in a new issue