xref: /imagick/ImagickKernel_arginfo.h (revision a27492ea)
1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: regen with 'sh regen_arginfo.sh'
3 * file has been fixedup for different versions */
4 
5 #if defined(IMAGICK_WITH_KERNEL)
6 
7 #if PHP_VERSION_ID >= 80000
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ImagickKernel_addKernel, 0, 1, IS_VOID, 0)
9 #else
10 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_addKernel, 0, 0, 1)
11 #endif
12 
13 	ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0)
14 ZEND_END_ARG_INFO()
15 #endif
16 
17 #if defined(IMAGICK_WITH_KERNEL)
18 
19 #if PHP_VERSION_ID >= 80000
20 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ImagickKernel_addUnityKernel, 0, 1, IS_VOID, 0)
21 #else
22 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_addUnityKernel, 0, 0, 1)
23 #endif
24 
25 
26 #if PHP_VERSION_ID >= 80000
27     ZEND_ARG_TYPE_INFO(0, scale, IS_DOUBLE, 0)
28 #else
29     ZEND_ARG_INFO(0, scale)
30 #endif
31 ZEND_END_ARG_INFO()
32 #endif
33 
34 #if defined(IMAGICK_WITH_KERNEL)
35 
36 #if PHP_VERSION_ID >= 80000
37 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ImagickKernel_fromBuiltin, 0, 2, ImagickKernel, 0)
38 #else
39 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_fromBuiltin, 0, 0, 2)
40 #endif
41 
42 
43 #if PHP_VERSION_ID >= 80000
44     ZEND_ARG_TYPE_INFO(0, kernel, IS_LONG, 0)
45 #else
46     ZEND_ARG_INFO(0, kernel)
47 #endif
48 
49 #if PHP_VERSION_ID >= 80000
50     ZEND_ARG_TYPE_INFO(0, shape, IS_STRING, 0)
51 #else
52     ZEND_ARG_INFO(0, shape)
53 #endif
54 ZEND_END_ARG_INFO()
55 #endif
56 
57 #if defined(IMAGICK_WITH_KERNEL)
58 
59 #if PHP_VERSION_ID >= 80000
60 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ImagickKernel_fromMatrix, 0, 2, ImagickKernel, 0)
61 #else
62 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_fromMatrix, 0, 0, 2)
63 #endif
64 
65 
66 #if PHP_VERSION_ID >= 80000
67     ZEND_ARG_TYPE_INFO(0, matrix, IS_ARRAY, 0)
68 #else
69     ZEND_ARG_INFO(0, matrix)
70 #endif
71 
72 #if PHP_VERSION_ID >= 80000
73     ZEND_ARG_TYPE_INFO(0, origin, IS_ARRAY, 1)
74 #else
75     ZEND_ARG_INFO(0, origin)
76 #endif
77 ZEND_END_ARG_INFO()
78 #endif
79 
80 #if defined(IMAGICK_WITH_KERNEL)
81 
82 #if PHP_VERSION_ID >= 80000
83 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ImagickKernel_getMatrix, 0, 0, IS_ARRAY, 0)
84 #else
85 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_getMatrix, 0, 0, 0)
86 #endif
87 
88 ZEND_END_ARG_INFO()
89 #endif
90 
91 #if defined(IMAGICK_WITH_KERNEL)
92 
93 #if PHP_VERSION_ID >= 80000
94 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ImagickKernel_scale, 0, 1, IS_VOID, 0)
95 #else
96 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickKernel_scale, 0, 0, 1)
97 #endif
98 
99 
100 #if PHP_VERSION_ID >= 80000
101     ZEND_ARG_TYPE_INFO(0, scale, IS_DOUBLE, 0)
102 #else
103     ZEND_ARG_INFO(0, scale)
104 #endif
105 
106 #if PHP_VERSION_ID >= 80000
107     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, normalize_kernel, IS_LONG, 1, "null")
108 #else
109     ZEND_ARG_INFO(0, normalize_kernel)
110 #endif
111 
112 ZEND_END_ARG_INFO()
113 #endif
114 
115 #if defined(IMAGICK_WITH_KERNEL)
116 #define arginfo_class_ImagickKernel_separate arginfo_class_ImagickKernel_getMatrix
117 #endif
118 
119 
120 #if defined(IMAGICK_WITH_KERNEL)
121 ZEND_METHOD(ImagickKernel, addKernel);
122 #endif
123 #if defined(IMAGICK_WITH_KERNEL)
124 ZEND_METHOD(ImagickKernel, addUnityKernel);
125 #endif
126 #if defined(IMAGICK_WITH_KERNEL)
127 ZEND_METHOD(ImagickKernel, fromBuiltin);
128 #endif
129 #if defined(IMAGICK_WITH_KERNEL)
130 ZEND_METHOD(ImagickKernel, fromMatrix);
131 #endif
132 #if defined(IMAGICK_WITH_KERNEL)
133 ZEND_METHOD(ImagickKernel, getMatrix);
134 #endif
135 #if defined(IMAGICK_WITH_KERNEL)
136 ZEND_METHOD(ImagickKernel, scale);
137 #endif
138 #if defined(IMAGICK_WITH_KERNEL)
139 ZEND_METHOD(ImagickKernel, separate);
140 #endif
141 
142 
143 static const zend_function_entry class_ImagickKernel_methods[] = {
144 #if defined(IMAGICK_WITH_KERNEL)
145 	ZEND_ME(ImagickKernel, addKernel, arginfo_class_ImagickKernel_addKernel, ZEND_ACC_PUBLIC)
146 #endif
147 #if defined(IMAGICK_WITH_KERNEL)
148 	ZEND_ME(ImagickKernel, addUnityKernel, arginfo_class_ImagickKernel_addUnityKernel, ZEND_ACC_PUBLIC)
149 #endif
150 #if defined(IMAGICK_WITH_KERNEL)
151 	ZEND_ME(ImagickKernel, fromBuiltin, arginfo_class_ImagickKernel_fromBuiltin, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
152 #endif
153 #if defined(IMAGICK_WITH_KERNEL)
154 	ZEND_ME(ImagickKernel, fromMatrix, arginfo_class_ImagickKernel_fromMatrix, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
155 #endif
156 #if defined(IMAGICK_WITH_KERNEL)
157 	ZEND_ME(ImagickKernel, getMatrix, arginfo_class_ImagickKernel_getMatrix, ZEND_ACC_PUBLIC)
158 #endif
159 #if defined(IMAGICK_WITH_KERNEL)
160 	ZEND_ME(ImagickKernel, scale, arginfo_class_ImagickKernel_scale, ZEND_ACC_PUBLIC)
161 #endif
162 #if defined(IMAGICK_WITH_KERNEL)
163 	ZEND_ME(ImagickKernel, separate, arginfo_class_ImagickKernel_separate, ZEND_ACC_PUBLIC)
164 #endif
165 	ZEND_FE_END
166 };