In this example –that focusses on YapDatabase– we wrap a Objective-C method that takes C-blocks of arbitrary types:
- (id)initWithSetup:(YapDatabaseSecondaryIndexSetup *)setup
block:(YapDatabaseSecondaryIndexBlock)block
blockType:(YapDatabaseSecondaryIndexBlockType)blockType;