*** empty log message ***
git-svn-id: svn://10.65.10.50/trunk@11859 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c2663feef9
commit
a8c90a9448
@ -30,10 +30,6 @@
|
|||||||
Modified to work on strings rather than files
|
Modified to work on strings rather than files
|
||||||
by Peter Miller <pmiller@agso.gov.au>, October 1995 */
|
by Peter Miller <pmiller@agso.gov.au>, October 1995 */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Specification. */
|
/* Specification. */
|
||||||
#include "fstrcmp.h"
|
#include "fstrcmp.h"
|
||||||
|
|
||||||
@ -553,10 +549,7 @@ static void compareseq (int xoff, int xlim, int yoff, int ylim, int minimal)
|
|||||||
strings are identical, and a number in between if they are
|
strings are identical, and a number in between if they are
|
||||||
similar. */
|
similar. */
|
||||||
|
|
||||||
double
|
double fstrcmp (const char * string1, const char *string2)
|
||||||
fstrcmp (string1, string2)
|
|
||||||
const char *string1;
|
|
||||||
const char *string2;
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -20,6 +20,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
#ifndef _FSTRCMP_H
|
#ifndef _FSTRCMP_H
|
||||||
#define _FSTRCMP_H
|
#define _FSTRCMP_H
|
||||||
|
|
||||||
extern double fstrcmp(const char *__s1, const char *__s2);
|
double fstrcmp(const char * string1, const char *string2);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,7 +16,9 @@
|
|||||||
|
|
||||||
#include "xvintern.h"
|
#include "xvintern.h"
|
||||||
#include "agasys.h"
|
#include "agasys.h"
|
||||||
|
extern "C" {
|
||||||
#include "fstrcmp.h"
|
#include "fstrcmp.h"
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include "oswin32.h"
|
#include "oswin32.h"
|
||||||
|
@ -273,8 +273,8 @@ XVTDLL int xvt_str_compare_ignoring_case (const char* s1, const char* s2);
|
|||||||
XVTDLL char* xvt_str_duplicate(const char* str);
|
XVTDLL char* xvt_str_duplicate(const char* str);
|
||||||
XVTDLL BOOLEAN xvt_str_match(const char* str, const char* pat, BOOLEAN case_sensitive);
|
XVTDLL BOOLEAN xvt_str_match(const char* str, const char* pat, BOOLEAN case_sensitive);
|
||||||
XVTDLL double xvt_str_fuzzy_compare (const char* s1, const char* s2);
|
XVTDLL double xvt_str_fuzzy_compare (const char* s1, const char* s2);
|
||||||
XVTDLL void xvt_str_make_upper(const char* str);
|
XVTDLL void xvt_str_make_upper(char* str);
|
||||||
XVTDLL void xvt_str_make_lower(const char* str);
|
XVTDLL void xvt_str_make_lower(char* str);
|
||||||
|
|
||||||
// System calls by XVAGA
|
// System calls by XVAGA
|
||||||
XVTDLL void xvt_sys_beep(int severity);
|
XVTDLL void xvt_sys_beep(int severity);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user