Skip to content

Commit

Permalink
Fix minor documentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Oct 28, 2023
1 parent 1f5af53 commit 384a0de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Headers/GNUstepBase/NSLock+GNUstepBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
12 changes: 6 additions & 6 deletions Headers/GNUstepBase/NSObject+GNUstepBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 384a0de

Please sign in to comment.