X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/3dca7758421664a838c54b273bd9221f02072045..3aab0efa423fe20713c8cc02e8aabdf7fe84056b:/lib/sod.3 diff --git a/lib/sod.3 b/lib/sod.3 index 83d004b..e5f9096 100644 --- a/lib/sod.3 +++ b/lib/sod.3 @@ -7,23 +7,26 @@ . .\"----- Licensing notice --------------------------------------------------- .\" -.\" This file is part of the Sensble Object Design, an object system for C. +.\" This file is part of the Sensible Object Design, an object system for C. .\" .\" SOD is free software; you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation; either version 2 of the License, or -.\" (at your option) any later version. +.\" it under the terms of the GNU Library General Public License as +.\" published by the Free Software Foundation; either version 2 of the +.\" License, or (at your option) any later version. .\" .\" SOD is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. +.\" GNU Library General Public License for more details. .\" -.\" You should have received a copy of the GNU General Public License -.\" along with SOD; if not, write to the Free Software Foundation, -.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.\" You should have received a copy of the GNU Library General Public +.\" License along with SOD; if not, write to the Free +.\" Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +.\" MA 02111-1307, USA. . +.\" Highlight using terminal escapes, rather than overstriking. .\"\X'tty: sgr 1' +. .\" String definitions and font selection. .ie t \{\ . ds o \(bu @@ -65,10 +68,6 @@ sod \- Sensible Object Design runtime library .IB cls , .IB chead , .BI "const void *" obj ); -.br -.B SOD_CAR(\c -.IB arg , -.RB ... ); .PP .B const void *\c .B SOD_CLASSOF(\c @@ -202,19 +201,6 @@ about the dynamic type of an instance. The .B SOD_INSTBASE macro (described below) is more suited to general use. -.PP -The -.B SOD_CAR -macro accepts one or more arguments -and expands to just its first argument, -discarding the others. -It is only defined if the C implementation -advertises support for C99. -It is used in the definitions of message convenience macros -for messages which accept a variable number of arguments -but no required arguments, -and is exported because the author has found such a thing useful in -other contexts. . .SS Utility macros The following macros are expected to be useful @@ -364,6 +350,7 @@ macro instead. . .\"-------------------------------------------------------------------------- .SH SEE ALSO +.BR sod (1), .BR sod-structs (3). . .\"--------------------------------------------------------------------------