ObjFW  Diff

Differences From Artifact [ff3d49827f]:

To Artifact [9c6a803607]:


38
39
40
41
42
43
44
45

46
47
48
49
extern void* _Block_copy(const void*);
extern void _Block_release(const void*);
#ifdef __cplusplus
}
#endif

#ifndef Block_copy
# define Block_copy(x) ((__typeof__(x))_Block_copy((const void*)(x)))

#endif
#ifndef Block_release
# define Block_release(x) _Block_release((const void*)(x))
#endif







|
>


|

38
39
40
41
42
43
44
45
46
47
48
49
50
extern void* _Block_copy(const void*);
extern void _Block_release(const void*);
#ifdef __cplusplus
}
#endif

#ifndef Block_copy
# define Block_copy(...) \
	((__typeof__(__VA_ARGS__))_Block_copy((const void*)(__VA_ARGS__)))
#endif
#ifndef Block_release
# define Block_release(...) _Block_release((const void*)(__VA_ARGS__))
#endif