[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
class_nextMethodList
From: |
Jeremy Bettis |
Subject: |
class_nextMethodList |
Date: |
Tue, 22 Jul 2003 11:27:47 -0500 |
gnustep base 1.7.1 gives this error when trying to use class_nextMethodList
"void value not ignored as it ought to be"
I suggest this macro:
#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))
- class_nextMethodList,
Jeremy Bettis <=