From a7134408de176c432a60c8a9fb2c90499108649a Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Thu, 23 Jun 2005 16:36:03 +0000 Subject: [PATCH] Minor documentation fixups git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21347 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Documentation/coding-standards.texi | 6 ++++-- Headers/Foundation/NSObject.h | 8 ++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index d053653c2..d1602fb9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-23 Richard Frith-Macdonald + + * Headers/Foundation/NSObject.h: + * Documentation/coding-standards.texi: + Minor documentation fixes. + 2005-06-22 Richard Frith-Macdonald * Source/NSKeyValueCoding.m: diff --git a/Documentation/coding-standards.texi b/Documentation/coding-standards.texi index 29d472bf9..cc8a62bb9 100644 --- a/Documentation/coding-standards.texi +++ b/Documentation/coding-standards.texi @@ -61,6 +61,7 @@ into another language, under the above conditions for modified versions. * Memory Management:: * Error Handling:: * Variable Declaration:: +* Naming Conventions:: * Object Persistence:: * Documentation:: * Before You Commit:: @@ -135,8 +136,9 @@ White space should be used for clarity throughout. In particular, variable declarations should be separated from code by a blank line and function/method implementations should be separated by a blank line. -Tabs should ideally not be used (use spaces instead), if used they -must be for tab-stops at the standard intervals of 8 spaces. +Tabs should not be used (use spaces instead). If you do use them +(please don't) they really, really, must be for tab-stops at the +standard intervals of 8 spaces. All binary operators should be surrounded by white space with the exception of the comma (only a trailing white space), and the diff --git a/Headers/Foundation/NSObject.h b/Headers/Foundation/NSObject.h index 91088c1cf..060470322 100644 --- a/Headers/Foundation/NSObject.h +++ b/Headers/Foundation/NSObject.h @@ -54,18 +54,18 @@ /** * Macro to check a defined GNUstep version number (GS_GNUSTEP_V) against the * supplied arguments. Returns true if no GNUstep version is specified, - * or if ADD <= VER < REM + * or if ADD <= VER < REM */ #define GS_API_VERSION(ADD,REM) \ - (!defined(GS_GNUSTEP_V) || (GS_GNUSTEP_V >= ADD && GS_GNUSTEP_V < REM)) + (!defined(GS_GNUSTEP_V) || (GS_GNUSTEP_V >= ADD && GS_GNUSTEP_V < REM)) /** * Macro to check a defined OpenStep/OPENSTEP/MacOS-X version against the * supplied arguments. Returns true if no version is specified, or if - * ADD <= VER < REM + * ADD <= VER < REM */ #define OS_API_VERSION(ADD,REM) \ - (!defined(GS_OPENSTEP_V) || (GS_OPENSTEP_V >= ADD && GS_OPENSTEP_V < REM)) + (!defined(GS_OPENSTEP_V) || (GS_OPENSTEP_V >= ADD && GS_OPENSTEP_V < REM)) /** * A constant to represent a feature which is not present in any version.