Sha256: 410b61a4924a73615dc21fd34592388a37fea74ac36b3701f6521d3f7ac91778
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
#import "YapDatabaseRubyMotion.h" #if ! __has_feature(objc_arc) #error This file must be compiled with ARC. Use the `-fobjc-arc` flag. #endif @implementation YapDatabaseSecondaryIndex (RubyMotionBlockTypeWrapper) // Here we define the implementation that does nothing else than forward // the method call to the normal library’s API. You could say we are // ‘aliasing’ the method (although we do change the interface). - (id)initWithSetup:(YapDatabaseSecondaryIndexSetup *)setup objectBlock:(YapDatabaseSecondaryIndexWithObjectBlock)block versionTag:(NSString *)versionTag; { return [self initWithSetup:setup block:block blockType:YapDatabaseSecondaryIndexBlockTypeWithObject versionTag:versionTag]; } @end @implementation YapDatabaseFullTextSearch (RubyMotionBlockTypeWrapper) // Here we define the implementation that does nothing else than forward // the method call to the normal library’s API. You could say we are // ‘aliasing’ the method (although we do change the interface). - (id)initWithColumnNames:(NSArray *)columnNames objectBlock:(YapDatabaseFullTextSearchWithObjectBlock)block versionTag:(NSString *)versionTag; { return [self initWithColumnNames:columnNames block:block blockType:YapDatabaseFullTextSearchBlockTypeWithObject versionTag:versionTag]; } @end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-yapper-0.1.0 | vendor/YapDatabaseRubyMotion/YapDatabaseRubyMotion.m |