equal
deleted
inserted
replaced
49 |
49 |
50 typedef TBool (*Parser)(const TDesC8& aString, TAny* aDestination); |
50 typedef TBool (*Parser)(const TDesC8& aString, TAny* aDestination); |
51 |
51 |
52 // Type-specific parsers |
52 // Type-specific parsers |
53 #define PCRE_MAKE_PARSER(type,name) \ |
53 #define PCRE_MAKE_PARSER(type,name) \ |
54 IMPORT_C TRegExArg(type* aType) : iArg(aType), iParser(name) { } \ |
54 inline TRegExArg(type* aType) : iArg(aType), iParser(name) { } \ |
55 IMPORT_C TRegExArg(type* aType, Parser aParser) : iArg(aType), iParser(aParser) { } |
55 inline TRegExArg(type* aType, Parser aParser) : iArg(aType), iParser(aParser) { } |
56 |
56 |
57 PCRE_MAKE_PARSER(TChar, ParseTChar) |
57 PCRE_MAKE_PARSER(TChar, ParseTChar) |
58 PCRE_MAKE_PARSER(TInt8, ParseTInt8) |
58 PCRE_MAKE_PARSER(TInt8, ParseTInt8) |
59 PCRE_MAKE_PARSER(TInt16, ParseTInt16) |
59 PCRE_MAKE_PARSER(TInt16, ParseTInt16) |
60 PCRE_MAKE_PARSER(TInt32, ParseTInt32) |
60 PCRE_MAKE_PARSER(TInt32, ParseTInt32) |