1
0
forked from GitHub/gf-core

added order and equality for strings in libgu

This commit is contained in:
kr.angelov
2013-09-17 13:45:37 +00:00
parent 2a49e4e1d6
commit d1e6a9c2ba
2 changed files with 35 additions and 15 deletions

View File

@@ -81,6 +81,19 @@ gu_string_is_prefix(GuString s1, GuString s2);
#endif // GU_STRING_H_
#if defined(GU_FUN_H_) && !defined(GU_STRING_H_FUN_)
#define GU_STRING_H_FUN_
bool
gu_string_eq(GuString s1, GuString s2);
extern GuEquality gu_string_equality[1];
int
gu_string_cmp(GuString s1, GuString s2);
extern GuOrder gu_string_order[1];
#endif
#if defined(GU_HASH_H_) && !defined(GU_STRING_H_HASH_)
#define GU_STRING_H_HASH_
@@ -88,12 +101,6 @@ GuHash
gu_string_hash(GuHash h, GuString s);
extern GuHasher gu_string_hasher[1];
bool
gu_string_eq(GuString s1, GuString s2);
int
gu_string_cmp(GuString s1, GuString s2);
#endif
#ifdef GU_TYPE_H_