summaryrefslogtreecommitdiff
path: root/zen/zstring.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
commit2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0 (patch)
tree39d2d1eed28bf2c231839dd118905fb34327628d /zen/zstring.h
parent9.9 (diff)
downloadFreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.gz
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.bz2
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.zip
10.0
Diffstat (limited to 'zen/zstring.h')
-rwxr-xr-xzen/zstring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zen/zstring.h b/zen/zstring.h
index 258603dc..5a6ecbdd 100755
--- a/zen/zstring.h
+++ b/zen/zstring.h
@@ -163,7 +163,9 @@ S ciReplaceCpy(const S& str, const T& oldTerm, const U& newTerm)
}
}
- int cmpStringNaturalLinux(const char* lhs, size_t lhsLen, const char* rhs, size_t rhsLen);
+//expose for unit tests
+int cmpStringNaturalLinuxTest(const char* lhs, size_t lhsLen, const char* rhs, size_t rhsLen);
+inline int cmpStringNaturalLinux(const char* lhs, size_t lhsLen, const char* rhs, size_t rhsLen) { return cmpStringNaturalLinuxTest(lhs, lhsLen, rhs, rhsLen); }
//---------------------------------------------------------------------------
//ZEN macro consistency checks:
bgstack15