mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Update docs. Redo MIN,MAX macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2982 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a0a2f2e66
commit
3c7e816fa0
3 changed files with 30 additions and 17 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
|
||||
|
||||
* src/include/preface.h.in (MIN, MAX): Rewrite macros.
|
||||
|
||||
Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
|
||||
|
|
|
@ -1,10 +1,22 @@
|
|||
=*
|
||||
version.tmpl.texi
|
||||
gnustep-base.texi
|
||||
gnustep-zones.texi
|
||||
announce.texi
|
||||
coding-standards.texi
|
||||
install.texi
|
||||
news.texi
|
||||
readme.texi
|
||||
status.texi
|
||||
todo.texi
|
||||
gnustep-base.info
|
||||
gnustep-base_toc.html
|
||||
gnustep-base_1.html
|
||||
gnustep-base_2.html
|
||||
gnustep-base_3.html
|
||||
gnustep-base_4.html
|
||||
gnustep-base_5.html
|
||||
gnustep-base_6.html
|
||||
CODING-STANDARDS
|
||||
STATUS
|
||||
|
||||
Makefile
|
||||
version.texi
|
||||
|
||||
README TODO INSTALL NEWS ANNOUNCE ADVERTISEMENT
|
||||
GNUstep-FAQ GNUstep-FAQ.html GNUstep-FAQ_toc.html GNUstep-FAQ.texi
|
||||
Gnustep-FAQ Gnustep-FAQ.html Gnustep-FAQ_toc.html
|
||||
|
||||
Coder.grammar
|
||||
|
|
|
@ -99,23 +99,20 @@ extern const char o_NeXT_cc_version[];
|
|||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) \
|
||||
({typedef _ta = (a), _tb = (b); \
|
||||
_ta _a = (a); _tb _b = (b); \
|
||||
_a > _b ? _a : _b; })
|
||||
({typeof(a) _MAX_a = (a); typeof(b) _MAX_b = (b); \
|
||||
_MAX_a > _MAX_b ? _MAX_a : _MAX_b; })
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) \
|
||||
({typedef _ta = (a), _tb = (b); \
|
||||
_ta _a = (a); _tb _b = (b); \
|
||||
_a < _b ? _a : _b; })
|
||||
({typeof(a) _MIN_a = (a); typeof(b) _MIN_b = (b); \
|
||||
_MIN_a < _MIN_b ? _MIN_a : _MIN_b; })
|
||||
#endif
|
||||
|
||||
#ifndef ABS
|
||||
#define ABS(a) \
|
||||
({typedef _ta = (a); \
|
||||
_ta _a = (a); \
|
||||
_a < 0 ? -_a : _a; })
|
||||
({typeof(a) _ABS_a = (a); \
|
||||
_ABS_a < 0 ? -_ABS_a : _ABS_a; })
|
||||
#endif
|
||||
|
||||
#ifndef STRINGIFY
|
||||
|
|
Loading…
Reference in a new issue