aboutsummaryrefslogtreecommitdiffstats
path: root/regint.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-26 07:28:42 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-26 07:28:42 +0000
commit9b9cc53e236ebae47b2f96d5ab7c3f9e3c158702 (patch)
tree1052d110840a273c73753ae1d305a300f2e95b6d /regint.h
parent02ae0a3e76dab85cfe7a363bf23d00d3af9e2455 (diff)
downloadruby-9b9cc53e236ebae47b2f96d5ab7c3f9e3c158702.tar.gz
* regint.h: IL32LLP64 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/regint.h b/regint.h
index 4a6fc46337..721f667557 100644
--- a/regint.h
+++ b/regint.h
@@ -876,7 +876,12 @@ extern int onig_is_code_in_cc P_((OnigEncoding enc, OnigCodePoint code, CClassN
/* strend hash */
typedef void hash_table_type;
+#ifdef RUBY
+#include <ruby/st.h>
+typedef st_data_t hash_data_type;
+#else
typedef unsigned long hash_data_type;
+#endif
extern hash_table_type* onig_st_init_strend_table_with_size P_((int size));
extern int onig_st_lookup_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type *value));