Skip to content

Commit fdbfcc0

Browse files
committed
dll export APIs needed by phpdbg
1 parent 79a4339 commit fdbfcc0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Diff for: ext/standard/basic_functions.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5051,7 +5051,7 @@ static int user_tick_function_compare(user_tick_function_entry * tick_fe1, user_
50515051
}
50525052
/* }}} */
50535053

5054-
void php_call_shutdown_functions(TSRMLS_D) /* {{{ */
5054+
PHPAPI void php_call_shutdown_functions(TSRMLS_D) /* {{{ */
50555055
{
50565056
if (BG(user_shutdown_function_names)) {
50575057
zend_try {
@@ -5063,7 +5063,7 @@ void php_call_shutdown_functions(TSRMLS_D) /* {{{ */
50635063
}
50645064
/* }}} */
50655065

5066-
void php_free_shutdown_functions(TSRMLS_D) /* {{{ */
5066+
PHPAPI void php_free_shutdown_functions(TSRMLS_D) /* {{{ */
50675067
{
50685068
if (BG(user_shutdown_function_names))
50695069
zend_try {

Diff for: ext/standard/basic_functions.h

+4
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,8 @@ PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, siz
261261
PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC);
262262
PHPAPI extern zend_bool append_user_shutdown_function(php_shutdown_function_entry shutdown_function_entry TSRMLS_DC);
263263

264+
PHPAPI void php_call_shutdown_functions(TSRMLS_D);
265+
PHPAPI void php_free_shutdown_functions(TSRMLS_D);
266+
267+
264268
#endif /* BASIC_FUNCTIONS_H */

Diff for: main/php_main.h

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
5050
PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
5151
PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode TSRMLS_DC);
5252

53-
extern void php_call_shutdown_functions(TSRMLS_D);
54-
extern void php_free_shutdown_functions(TSRMLS_D);
55-
5653
/* environment module */
5754
extern int php_init_environ(void);
5855
extern int php_shutdown_environ(void);

0 commit comments

Comments
 (0)