summaryrefslogtreecommitdiff
path: root/zen/zstring.h
diff options
context:
space:
mode:
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