-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphp_wiringpi.h
66 lines (57 loc) · 1.45 KB
/
php_wiringpi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* wiringpi extension for PHP */
#ifndef PHP_WIRINGPI_H
# define PHP_WIRINGPI_H
extern zend_module_entry wiringpi_module_entry;
# define phpext_wiringpi_ptr &wiringpi_module_entry
# define PHP_WIRINGPI_VERSION "1.0.0"
# if defined(ZTS) && defined(COMPILE_DL_WIRINGPI)
ZEND_TSRMLS_CACHE_EXTERN()
# endif
#include <wiringPi.h>
#include <wiringPiI2C.h>
#include <wiringPiSPI.h>
#include <wiringSerial.h>
#include <wiringShift.h>
#include <softPwm.h>
#include <pcf8574.h>
#include <pcf8591.h>
#include <softServo.h>
#include <softTone.h>
/****
#include <drcSerial.h>
#include <ads1115.h>
#include <max31855.h>
#include <max5322.h>
#include <mcp23008.h>
#include <mcp23016.h>
#include <mcp23016reg.h>
#include <mcp23017.h>
#include <mcp23s08.h>
#include <mcp23s17.h>
#include <mcp23x0817.h>
#include <mcp23x08.h>
#include <mcp3002.h>
#include <mcp3004.h>
#include <mcp3422.h>
#include <mcp4802.h>
#include <sn3218.h>
#include <sr595.h>
#include <ds1302.h>
#include <gertboard.h>
#include <lcd128x64.h>
#include <lcd.h>
#include <maxdetect.h>
#include <piGlow.h>
#include <piNes.h>
#include <scrollPhat.h>
****/
#if PHP_VERSION_ID < 80000
#define IS_MIXED IS_OBJECT
#undef ZEND_ARG_OBJ_INFO
#define ZEND_ARG_OBJ_INFO(p1, p2, p3, p4)
#undef ZEND_ARG_TYPE_INFO
#define ZEND_ARG_TYPE_INFO(p1, p2, p3, p4)
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(p1, p2, p3, p4, p5)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(p1,p2,p3,p4,p5) ZEND_ARG_INFO(p1, p2)
#endif
#endif /* PHP_WIRINGPI_H */