mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Headers/GNUstepBase/GSBlocks.h: Fixed the DEFINE_BLOCK_TYPE macro
for certain GCC versions git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36975 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b0d091bb19
commit
63253fa342
2 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Source/NSBundle.m: add NSBundle pathForAuxiliaryExecutable: and
|
||||
-privateFrameworksPath and their URL counterparts
|
||||
* Headers/GNUstepBase/GSBlocks.h: Fixed the DEFINE_BLOCK_TYPE macro
|
||||
for certain GCC versions
|
||||
|
||||
2013-08-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -70,12 +70,12 @@ typedef retTy(^name)()
|
|||
|
||||
#else /* GCC_VERSION >= 3000 */
|
||||
|
||||
#define DEFINE_BLOCK_TYPE(name, retTy, argTys, args...) \
|
||||
#define DEFINE_BLOCK_TYPE(name, retTy, argTys...) \
|
||||
typedef struct {\
|
||||
void *isa;\
|
||||
int flags;\
|
||||
int reserved;\
|
||||
retTy (*invoke)(void*, argTys, args);\
|
||||
retTy (*invoke)(void*, argTys);\
|
||||
} *name
|
||||
|
||||
#define DEFINE_BLOCK_TYPE_NO_ARGS(name, retTy) \
|
||||
|
|
Loading…
Reference in a new issue