Skip to content

Commit d3ddf47

Browse files
committed
update pcre symbols list
1 parent c373324 commit d3ddf47

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

main/php_compat.h

+17-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define pcre_compile2 php_pcre_compile2
3333
#define pcre_copy_substring php_pcre_copy_substring
3434
#define pcre_exec php_pcre_exec
35-
#define pcre_get_substring php_pcre_substring
35+
#define pcre_get_substring php_pcre_get_substring
3636
#define pcre_get_substring_list php_pcre_get_substring_list
3737
#define pcre_info php_pcre_info
3838
#define pcre_maketables php_pcre_maketables
@@ -43,7 +43,6 @@
4343
#define pcre_malloc php_pcre_malloc
4444
#define pcre_config php_pcre_config
4545
#define pcre_copy_named_substring php_pcre_copy_named_substring
46-
#define pcre_dfa_exec php_pcre_dfa_exec
4746
#define pcre_free_substring php_pcre_free_substring
4847
#define pcre_free_substring_list php_pcre_free_substring_list
4948
#define pcre_get_named_substring php_pcre_get_named_substring
@@ -55,6 +54,22 @@
5554
#define _pcre_ucp_othercase php__pcre_ucp_othercase
5655
#define _pcre_valid_utf8 php__pcre_valid_utf8
5756
#define _pcre_xclass php__pcre_xclass
57+
#define pcre_callout php_pcre_callout
58+
#define _pcre_OP_lengths php__pcre_OP_lengths
59+
/* this one doesn't work because pcre.h isn't included from the pcre_chartables.c file
60+
#define _pcre_default_tables php__pcre_default_tables */
61+
#define pcre_get_stringtable_entries php_pcre_get_stringtable_entries
62+
#define _pcre_is_newline php__pcre_is_newline
63+
#define pcre_stack_free php_pcre_stack_free
64+
#define pcre_stack_malloc php_pcre_stack_malloc
65+
#define _pcre_utf8_table1 php__pcre_utf8_table1
66+
#define _pcre_utf8_table1_size php__pcre_utf8_table1_size
67+
#define _pcre_utf8_table2 php__pcre_utf8_table2
68+
#define _pcre_utf8_table3 php__pcre_utf8_table3
69+
#define _pcre_utf8_table4 php__pcre_utf8_table4
70+
#define _pcre_utt php__pcre_utt
71+
#define _pcre_utt_size php__pcre_utt_size
72+
#define _pcre_was_newline php__pcre_was_newline
5873
#endif
5974

6075
#define lookup php_lookup

0 commit comments

Comments
 (0)