mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
simplify for older compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28821 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20d59a0d7a
commit
9d215e7e76
2 changed files with 2 additions and 7 deletions
|
@ -213,11 +213,6 @@ typedef struct {
|
||||||
#define GSEQ_S GSEQ_CS
|
#define GSEQ_S GSEQ_CS
|
||||||
#include "GSeq.h"
|
#include "GSeq.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* Include sequence handling code with instructions to generate search
|
|
||||||
* and compare functions for NSString objects.
|
|
||||||
*/
|
|
||||||
#define GSEQ_STRCOMP strCompNsNs
|
|
||||||
#define GSEQ_STRRANGE strRangeNsNs
|
#define GSEQ_STRRANGE strRangeNsNs
|
||||||
#define GSEQ_O GSEQ_NS
|
#define GSEQ_O GSEQ_NS
|
||||||
#define GSEQ_S GSEQ_NS
|
#define GSEQ_S GSEQ_NS
|
||||||
|
|
|
@ -373,7 +373,7 @@ static inline void GSeq_uppercase(GSeq seq)
|
||||||
* If a string comparison function is required, implement it.
|
* If a string comparison function is required, implement it.
|
||||||
*/
|
*/
|
||||||
#ifdef GSEQ_STRCOMP
|
#ifdef GSEQ_STRCOMP
|
||||||
static inline NSComparisonResult
|
static NSComparisonResult
|
||||||
GSEQ_STRCOMP(NSString *ss, NSString *os, unsigned mask, NSRange aRange)
|
GSEQ_STRCOMP(NSString *ss, NSString *os, unsigned mask, NSRange aRange)
|
||||||
{
|
{
|
||||||
GSEQ_ST s = (GSEQ_ST)ss;
|
GSEQ_ST s = (GSEQ_ST)ss;
|
||||||
|
@ -593,7 +593,7 @@ GSEQ_STRCOMP(NSString *ss, NSString *os, unsigned mask, NSRange aRange)
|
||||||
* If a string search function is required, implement it.
|
* If a string search function is required, implement it.
|
||||||
*/
|
*/
|
||||||
#ifdef GSEQ_STRRANGE
|
#ifdef GSEQ_STRRANGE
|
||||||
static inline NSRange
|
static NSRange
|
||||||
GSEQ_STRRANGE(NSString *ss, NSString *os, unsigned mask, NSRange aRange)
|
GSEQ_STRRANGE(NSString *ss, NSString *os, unsigned mask, NSRange aRange)
|
||||||
{
|
{
|
||||||
GSEQ_ST s = (GSEQ_ST)ss;
|
GSEQ_ST s = (GSEQ_ST)ss;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue