Skip to content

Commit 4b9edc2

Browse files
authored
Add files via upload
1 parent a8d13ce commit 4b9edc2

File tree

3 files changed

+389
-141
lines changed

3 files changed

+389
-141
lines changed

php_wiringpi.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,14 @@ ZEND_TSRMLS_CACHE_EXTERN()
5252
#include <scrollPhat.h>
5353
****/
5454

55+
#if PHP_VERSION_ID < 80000
56+
#define IS_MIXED IS_OBJECT
57+
#undef ZEND_ARG_OBJ_INFO
58+
#define ZEND_ARG_OBJ_INFO(p1, p2, p3, p4)
59+
//#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(p1, p2, p3, p4, p5) ZEND_BEGIN_ARG_INFO(p1, p2)
60+
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(p1, p2, p3, p4, p5)
61+
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(p1,p2,p3,p4,p5) ZEND_ARG_INFO(p1, p2)
62+
#endif
63+
5564
#endif /* PHP_WIRINGPI_H */
5665

0 commit comments

Comments
 (0)