mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix incompatible types
namely between hash_data_type and st_data_t
This commit is contained in:
parent
3689b44453
commit
46101dbec5
1 changed files with 5 additions and 0 deletions
|
@ -793,7 +793,12 @@ extern int onig_is_code_in_cc_len P_((int enclen, OnigCodePoint code, CClassNod
|
|||
|
||||
/* strend hash */
|
||||
typedef void hash_table_type;
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
typedef ULONG_PTR 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