mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* regint.h: IL32LLP64 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02ae0a3e76
commit
9b9cc53e23
2 changed files with 9 additions and 0 deletions
5
regint.h
5
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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue