xref: /imagick/shim_php7_to_php8.h (revision eb8d0622)
1 
2 
3 #if PHP_VERSION_ID < 80000
4 // Allow the generated stubs to work on previous versions of PHP
5 
6 #define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value) \
7   ZEND_ARG_INFO(pass_by_ref, name)
8 
9 #define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value) \
10      ZEND_ARG_INFO(pass_by_ref, name)
11 
12 #define MAY_BE_STRING ""
13 
14 #endif