diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-17 03:31:44 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-17 03:31:44 +0000 |
commit | f44eeda9284b928f3d5302ef27ae0884e117828c (patch) | |
tree | f52b776b6551be67cab4992bb1d3298ec40796d0 /include | |
parent | 99285bcd5715eac7d99e49eda97dbb3a0643201a (diff) |
* include/ruby/st.h (st_strcasecmp): Macro defined for compatibility.
(st_strncasecmp): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/st.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h index d5ef4bd0ab..e71301b519 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -121,6 +121,8 @@ int st_numcmp(st_data_t, st_data_t); st_index_t st_numhash(st_data_t); int st_locale_insensitive_strcasecmp(const char *s1, const char *s2); int st_locale_insensitive_strncasecmp(const char *s1, const char *s2, size_t n); +#define st_strcasecmp st_locale_insensitive_strcasecmp +#define st_strncasecmp st_locale_insensitive_strncasecmp size_t st_memsize(const st_table *); st_index_t st_hash(const void *ptr, size_t len, st_index_t h); st_index_t st_hash_uint32(st_index_t h, uint32_t i); |