Skip to content

Commit

Permalink
Declare proper calling convention
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Nov 23, 2024
1 parent 5a0c2bb commit f39ef57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/function.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ zend_bool uopz_get_static(zend_class_entry *clazz, zend_string *function, zval *
return 1;
} /* }}} */

void uopz_exit_function(INTERNAL_FUNCTION_PARAMETERS) { /* {{{ */
void ZEND_FASTCALL uopz_exit_function(INTERNAL_FUNCTION_PARAMETERS) { /* {{{ */
zend_string *str = NULL;
zend_long code = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/function.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ zend_bool uopz_del_function(zend_class_entry *clazz, zend_string *name, zend_boo
void uopz_flags(zend_class_entry *clazz, zend_string *name, zend_long flags, zval *return_value);
zend_bool uopz_set_static(zend_class_entry *clazz, zend_string *function, zval *statics);
zend_bool uopz_get_static(zend_class_entry *clazz, zend_string *function, zval *return_value);
void uopz_exit_function(INTERNAL_FUNCTION_PARAMETERS);
void ZEND_FASTCALL uopz_exit_function(INTERNAL_FUNCTION_PARAMETERS);

#endif /* UOPZ_FUNCTION_H */

Expand Down

0 comments on commit f39ef57

Please sign in to comment.