mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
* Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
Fix macro to return the method list. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17304 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b28e15dfe9
commit
8bc027d440
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
|
||||
|
||||
* Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
|
||||
Fix macro to return the method list.
|
||||
|
||||
2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/AGSHtml.m: Don't output authors heading if not needed.
|
||||
|
|
|
@ -264,12 +264,12 @@ objc_error_handler objc_set_error_handler(objc_error_handler func);
|
|||
#define class_getClassMethod(CLASS, SEL) \
|
||||
class_get_class_method((CLASS)->class_pointer, (SEL))
|
||||
|
||||
#define class_nextMethodList(aClass,anIterator) ({\
|
||||
#define class_nextMethodList(aClass,anIterator) (({\
|
||||
if (*(anIterator) == 0) \
|
||||
*((struct objc_method_list**)(anIterator)) = (aClass)->methods; \
|
||||
else \
|
||||
*(anIterator) = (*((struct objc_method_list**)(anIterator)))->method_next; \
|
||||
})
|
||||
}), *(anIterator))
|
||||
|
||||
#endif /* NeXT_RUNTIME */
|
||||
|
||||
|
|
Loading…
Reference in a new issue