diff options
author | nyamatongwe <unknown> | 2003-07-31 12:58:39 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-07-31 12:58:39 +0000 |
commit | 79b3b3de851cd602e66a26e9a6eb766386e938bb (patch) | |
tree | 125028014464f9550482342f13c0ea2b591c742f /src/PropSet.cxx | |
parent | 2fd0a0456efc81c57cb2873faa10e3e670db3957 (diff) | |
download | scintilla-mirror-79b3b3de851cd602e66a26e9a6eb766386e938bb.tar.gz |
Made some of PropSet protected so it can be overridden.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r-- | src/PropSet.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 8455d854d..021a65727 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -71,16 +71,6 @@ bool EqualCaseInsensitive(const char *a, const char *b) { return 0 == CompareCaseInsensitive(a, b); } -inline unsigned int HashString(const char *s, size_t len) { - unsigned int ret = 0; - while (len--) { - ret <<= 4; - ret ^= *s; - s++; - } - return ret; -} - PropSet::PropSet() { superPS = 0; for (int root = 0; root < hashRoots; root++) @@ -160,7 +150,7 @@ SString PropSet::Get(const char *key) { } } -static bool IncludesVar(const char *value, const char *key) { +bool PropSet::IncludesVar(const char *value, const char *key) { const char *var = strstr(value, "$("); while (var) { if (isprefix(var + 2, key) && (var[2 + strlen(key)] == ')')) { |