Fix: add missing PHPAPI (#15142)

Issue introduced in commit 5905857fd2 from PR https://github.com/php/php-src/pull/14833
This commit is contained in:
Pol Dellaiera 2024-07-28 20:38:52 +02:00 committed by GitHub
parent e0a2e2e59c
commit 664c1d18df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ PHP_FUNCTION(floor)
}
/* }}} */
int php_math_round_mode_from_enum(zend_object *mode)
PHPAPI int php_math_round_mode_from_enum(zend_object *mode)
{
zval *case_name = zend_enum_fetch_case_name(mode);
zend_string *mode_name = Z_STR_P(case_name);

View File

@ -52,4 +52,4 @@
extern PHPAPI zend_class_entry *rounding_mode_ce;
int php_math_round_mode_from_enum(zend_object *mode);
PHPAPI int php_math_round_mode_from_enum(zend_object *mode);