mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +00:00
moe consistent use of white space to match coding standard etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2bd8c521dc
commit
c0585bf7b2
4 changed files with 128 additions and 126 deletions
|
@ -66,7 +66,8 @@ static const NSMatchingOptions NSMatchingWithTransparentBounds = 1<<3;
|
||||||
static const NSMatchingOptions NSMatchingWithoutAnchoringBounds = 1<<4;
|
static const NSMatchingOptions NSMatchingWithoutAnchoringBounds = 1<<4;
|
||||||
|
|
||||||
|
|
||||||
DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*, NSMatchingFlags, BOOL*);
|
DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*,
|
||||||
|
NSMatchingFlags, BOOL*);
|
||||||
|
|
||||||
#ifndef GSREGEXTYPE
|
#ifndef GSREGEXTYPE
|
||||||
# define GSREGEXTYPE void
|
# define GSREGEXTYPE void
|
||||||
|
@ -96,13 +97,13 @@ DEFINE_BLOCK_TYPE(GSRegexBlock, void, NSTextCheckingResult*, NSMatchingFlags, BO
|
||||||
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
|
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
|
||||||
options: (NSRegularExpressionOptions)opts
|
options: (NSRegularExpressionOptions)opts
|
||||||
error: (NSError**)e;
|
error: (NSError**)e;
|
||||||
- initWithPattern: (NSString*)aPattern
|
- (id) initWithPattern: (NSString*)aPattern
|
||||||
options: (NSRegularExpressionOptions)opts
|
options: (NSRegularExpressionOptions)opts
|
||||||
error: (NSError**)e;
|
error: (NSError**)e;
|
||||||
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
|
+ (NSRegularExpression*) regularExpressionWithPattern: (NSString*)aPattern
|
||||||
options: (NSRegularExpressionOptions)opts
|
options: (NSRegularExpressionOptions)opts
|
||||||
error: (NSError**)e;
|
error: (NSError**)e;
|
||||||
- initWithPattern: (NSString*)aPattern
|
- (id) initWithPattern: (NSString*)aPattern
|
||||||
options: (NSRegularExpressionOptions)opts
|
options: (NSRegularExpressionOptions)opts
|
||||||
error: (NSError**)e;
|
error: (NSError**)e;
|
||||||
- (NSString*) pattern;
|
- (NSString*) pattern;
|
||||||
|
|
|
@ -29,10 +29,11 @@
|
||||||
#if GS_USE_ICU == 1
|
#if GS_USE_ICU == 1
|
||||||
#include "unicode/uregex.h"
|
#include "unicode/uregex.h"
|
||||||
|
|
||||||
// FIXME It would be nice to use autoconf for checking whether uregex_openUText
|
/* FIXME It would be nice to use autoconf for checking whether uregex_openUText
|
||||||
// is defined. However the naive check using AC_CHECK_FUNCS(uregex_openUText)
|
* is defined. However the naive check using AC_CHECK_FUNCS(uregex_openUText)
|
||||||
// wonn't work because libicu internally renames all entry points with some cpp
|
* wonn't work because libicu internally renames all entry points with some cpp
|
||||||
// magic.
|
* magic.
|
||||||
|
*/
|
||||||
#if (U_ICU_VERSION_MAJOR_NUM > 4 || (U_ICU_VERSION_MAJOR_NUM == 4 && U_ICU_VERSION_MINOR_NUM >= 4))
|
#if (U_ICU_VERSION_MAJOR_NUM > 4 || (U_ICU_VERSION_MAJOR_NUM == 4 && U_ICU_VERSION_MINOR_NUM >= 4))
|
||||||
#define HAVE_UREGEX_OPENUTEXT 1
|
#define HAVE_UREGEX_OPENUTEXT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue