mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Remove some of the compiler warnings on system without clang or ICU.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33680 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
999a0cb544
commit
dafc3301e5
4 changed files with 84 additions and 53 deletions
|
@ -32,7 +32,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
@class NSTextCheckingResult;
|
||||
@class NSString, NSTextCheckingResult;
|
||||
|
||||
typedef NSUInteger NSRegularExpressionOptions;
|
||||
static const NSRegularExpressionOptions
|
||||
|
@ -76,6 +76,7 @@ DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*, NSMatchingFlags, BO
|
|||
#if GS_EXPOSE(NSRegularExpression)
|
||||
@private
|
||||
GSREGEXTYPE *regex;
|
||||
NSString *pattern;
|
||||
NSRegularExpressionOptions options;
|
||||
#endif
|
||||
#if GS_NONFRAGILE
|
||||
|
@ -113,8 +114,8 @@ DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*, NSMatchingFlags, BO
|
|||
options: (NSMatchingOptions)options
|
||||
range: (NSRange)range;
|
||||
- (NSArray*)matchesInString: (NSString*)string
|
||||
options:(NSMatchingOptions)options
|
||||
range:(NSRange)range;
|
||||
options: (NSMatchingOptions)options
|
||||
range: (NSRange)range;
|
||||
- (NSRange)rangeOfFirstMatchInString: (NSString*)string
|
||||
options: (NSMatchingOptions)options
|
||||
range: (NSRange)range;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue