Minor documentation fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21347 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-06-23 16:36:03 +00:00
parent ac5ecec04f
commit a7134408de
3 changed files with 14 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2005-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Documentation/coding-standards.texi:
Minor documentation fixes.
2005-06-22 Richard Frith-Macdonald <rfm@gnu.org> 2005-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m: * Source/NSKeyValueCoding.m:

View file

@ -61,6 +61,7 @@ into another language, under the above conditions for modified versions.
* Memory Management:: * Memory Management::
* Error Handling:: * Error Handling::
* Variable Declaration:: * Variable Declaration::
* Naming Conventions::
* Object Persistence:: * Object Persistence::
* Documentation:: * Documentation::
* Before You Commit:: * 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 variable declarations should be separated from code by a blank line and
function/method implementations should be separated by a blank line. function/method implementations should be separated by a blank line.
Tabs should ideally not be used (use spaces instead), if used they Tabs should not be used (use spaces instead). If you do use them
must be for tab-stops at the standard intervals of 8 spaces. (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 All binary operators should be surrounded by white space with the
exception of the comma (only a trailing white space), and the exception of the comma (only a trailing white space), and the

View file

@ -54,18 +54,18 @@
/** /**
* Macro to check a defined GNUstep version number (GS_GNUSTEP_V) against the * Macro to check a defined GNUstep version number (GS_GNUSTEP_V) against the
* supplied arguments. Returns true if no GNUstep version is specified, * supplied arguments. Returns true if no GNUstep version is specified,
* or if ADD <= VER < REM * or if ADD &lt;= VER &lt; REM
*/ */
#define GS_API_VERSION(ADD,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 &gt;= ADD && GS_GNUSTEP_V < REM))
/** /**
* Macro to check a defined OpenStep/OPENSTEP/MacOS-X version against the * Macro to check a defined OpenStep/OPENSTEP/MacOS-X version against the
* supplied arguments. Returns true if no version is specified, or if * supplied arguments. Returns true if no version is specified, or if
* ADD <= VER < REM * ADD &lt;= VER &lt; REM
*/ */
#define OS_API_VERSION(ADD,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 &gt;= ADD && GS_OPENSTEP_V < REM))
/** /**
* A constant to represent a feature which is not present in any version. * A constant to represent a feature which is not present in any version.