@@ -15,10 +15,11 @@ # import #else # import #endif +/// \cond internal typedef struct __of_block_literal { Class isa; int flags; int reserved; void (*invoke)(void *, ...); @@ -53,10 +54,11 @@ OF_BLOCK_FIELD_IS_BLOCK = 7, OF_BLOCK_FIELD_IS_BYREF = 8, OF_BLOCK_FIELD_IS_WEAK = 16, OF_BLOCK_BYREF_CALLER = 128, }; +/// \endcond extern void* _Block_copy(const void*); extern void _Block_release(const void*); #ifndef Block_copy @@ -64,10 +66,11 @@ #endif #ifndef Block_release # define Block_release(x) _Block_release((const void*)(x)) #endif +/// \cond internal @interface OFBlock { Class isa; } @@ -82,5 +85,6 @@ @interface OFGlobalBlock: OFBlock @end @interface OFMallocBlock: OFBlock @end +/// \endcond