mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
fix missing macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28817 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d8a2ff7287
commit
e054b0321e
2 changed files with 9 additions and 9 deletions
|
@ -97,6 +97,15 @@ extern "C" {
|
||||||
#define _C_BYREF 'R'
|
#define _C_BYREF 'R'
|
||||||
#define _C_ONEWAY 'V'
|
#define _C_ONEWAY 'V'
|
||||||
#define _C_GCINVISIBLE '!'
|
#define _C_GCINVISIBLE '!'
|
||||||
|
#else
|
||||||
|
|
||||||
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef NO_GNUSTEP
|
#ifndef NO_GNUSTEP
|
||||||
|
|
|
@ -62,15 +62,6 @@
|
||||||
@interface NSObject (MissingFromMacOSX)
|
@interface NSObject (MissingFromMacOSX)
|
||||||
+ (IMP) methodForSelector: (SEL)aSelector;
|
+ (IMP) methodForSelector: (SEL)aSelector;
|
||||||
@end
|
@end
|
||||||
#else
|
|
||||||
|
|
||||||
#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
|
#endif
|
||||||
|
|
||||||
#define BDBGPrintf(format, args...) \
|
#define BDBGPrintf(format, args...) \
|
||||||
|
|
Loading…
Reference in a new issue