add ion\LOB
[awesomized/ext-ion] / ion_arginfo.h
1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: f2b34e7e90a3fcb65ad470c6acce7cc31b804716 */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_serialize, 0, 1, IS_STRING, 0)
5 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
6 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, serializer, ion\\Serializer, 1, "null")
7 ZEND_END_ARG_INFO()
8
9 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ion_unserialize, 0, 1, IS_MIXED, 0)
10 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
11 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, unserializer, ion\\Unserializer, 1, "null")
12 ZEND_END_ARG_INFO()
13
14 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol_ImportLocation___construct, 0, 0, 2)
15 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
16 ZEND_ARG_TYPE_INFO(0, location, IS_LONG, 0)
17 ZEND_END_ARG_INFO()
18
19 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Symbol___construct, 0, 0, 0)
20 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
21 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, sid, IS_LONG, 0, "-1")
22 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, importLocation, ion\\Symbol\\ImportLocation, 1, "null")
23 ZEND_END_ARG_INFO()
24
25 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol_equals, 0, 1, _IS_BOOL, 0)
26 ZEND_ARG_OBJ_INFO(0, symbol, ion\\Symbol, 0)
27 ZEND_END_ARG_INFO()
28
29 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Symbol___toString, 0, 0, IS_STRING, 0)
30 ZEND_END_ARG_INFO()
31
32 #define arginfo_class_ion_Symbol_toString arginfo_class_ion_Symbol___toString
33
34 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_LOB___construct, 0, 0, 1)
35 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
36 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, type, ion\\Type, 0, "ion\\Type::CLob")
37 ZEND_END_ARG_INFO()
38
39 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal_Context___construct, 0, 0, 0)
40 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bits, IS_LONG, 0, "128")
41 ZEND_END_ARG_INFO()
42
43 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Decimal___construct, 0, 0, 1)
44 ZEND_ARG_TYPE_MASK(0, number, MAY_BE_STRING|MAY_BE_LONG, NULL)
45 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, context, ion\\Decimal\\Context, 1, "null")
46 ZEND_END_ARG_INFO()
47
48 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_equals, 0, 1, _IS_BOOL, 0)
49 ZEND_ARG_OBJ_INFO(0, decimal, ion\\Decimal, 0)
50 ZEND_END_ARG_INFO()
51
52 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_isInt, 0, 0, _IS_BOOL, 0)
53 ZEND_END_ARG_INFO()
54
55 #define arginfo_class_ion_Decimal___toString arginfo_class_ion_Symbol___toString
56
57 #define arginfo_class_ion_Decimal_toString arginfo_class_ion_Symbol___toString
58
59 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Decimal_toInt, 0, 0, IS_LONG, 0)
60 ZEND_END_ARG_INFO()
61
62 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Timestamp___construct, 0, 0, 1)
63 ZEND_ARG_OBJ_TYPE_MASK(0, precision, ion\\Timestamp\\Precision, MAY_BE_LONG, NULL)
64 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 1, "null")
65 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, datetime, IS_STRING, 1, "null")
66 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, timezone, DateTimeZone, 1, "null")
67 ZEND_END_ARG_INFO()
68
69 #define arginfo_class_ion_Timestamp___toString arginfo_class_ion_Symbol___toString
70
71 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getType, 0, 0, ion\\Type, 0)
72 ZEND_END_ARG_INFO()
73
74 #define arginfo_class_ion_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
75
76 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_hasAnnotation, 0, 1, _IS_BOOL, 0)
77 ZEND_ARG_TYPE_INFO(0, annotation, IS_STRING, 0)
78 ZEND_END_ARG_INFO()
79
80 #define arginfo_class_ion_Reader_isNull arginfo_class_ion_Decimal_isInt
81
82 #define arginfo_class_ion_Reader_isInStruct arginfo_class_ion_Decimal_isInt
83
84 #define arginfo_class_ion_Reader_getFieldName arginfo_class_ion_Symbol___toString
85
86 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getFieldNameSymbol, 0, 0, ion\\Symbol, 0)
87 ZEND_END_ARG_INFO()
88
89 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotations, 0, 0, IS_ARRAY, 0)
90 ZEND_END_ARG_INFO()
91
92 #define arginfo_class_ion_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
93
94 #define arginfo_class_ion_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
95
96 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_getAnnotation, 0, 1, IS_STRING, 0)
97 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
98 ZEND_END_ARG_INFO()
99
100 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_getAnnotationSymbol, 0, 1, ion\\Symbol, 0)
101 ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
102 ZEND_END_ARG_INFO()
103
104 #define arginfo_class_ion_Reader_readNull arginfo_class_ion_Reader_getType
105
106 #define arginfo_class_ion_Reader_readBool arginfo_class_ion_Decimal_isInt
107
108 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_ion_Reader_readInt, 0, 0, MAY_BE_LONG|MAY_BE_STRING)
109 ZEND_END_ARG_INFO()
110
111 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readFloat, 0, 0, IS_DOUBLE, 0)
112 ZEND_END_ARG_INFO()
113
114 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readDecimal, 0, 0, ion\\Decimal, 0)
115 ZEND_END_ARG_INFO()
116
117 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_readTimestamp, 0, 0, ion\\Timestamp, 0)
118 ZEND_END_ARG_INFO()
119
120 #define arginfo_class_ion_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
121
122 #define arginfo_class_ion_Reader_readString arginfo_class_ion_Symbol___toString
123
124 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_readStringPart, 0, 1, _IS_BOOL, 0)
125 ZEND_ARG_INFO(1, string)
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "0x1000")
127 ZEND_END_ARG_INFO()
128
129 #define arginfo_class_ion_Reader_readLob arginfo_class_ion_Symbol___toString
130
131 #define arginfo_class_ion_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
132
133 #define arginfo_class_ion_Reader_getPosition arginfo_class_ion_Decimal_toInt
134
135 #define arginfo_class_ion_Reader_getDepth arginfo_class_ion_Decimal_toInt
136
137 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_seek, 0, 1, IS_VOID, 0)
138 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
139 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
140 ZEND_END_ARG_INFO()
141
142 #define arginfo_class_ion_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
143
144 #define arginfo_class_ion_Reader_getValueLength arginfo_class_ion_Decimal_toInt
145
146 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Options___construct, 0, 0, 0)
147 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
148 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
149 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, onContextChange, Closure, 1, "null")
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnSystemValues, _IS_BOOL, 0, "false")
151 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, newLine, IS_LONG, 0, "0xa")
152 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
153 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
154 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotationBuffered, IS_LONG, 0, "512")
155 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, symbolThreshold, IS_LONG, 0, "4096")
156 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, userValueThreshold, IS_LONG, 0, "4096")
157 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunkThreshold, IS_LONG, 0, "4096")
158 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "4096")
159 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, skipCharacterValidation, _IS_BOOL, 0, "false")
160 ZEND_END_ARG_INFO()
161
162 #define arginfo_class_ion_Reader_Reader_hasChildren arginfo_class_ion_Decimal_isInt
163
164 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_ion_Reader_Reader_getChildren, 0, 0, ion\\Reader, 0)
165 ZEND_END_ARG_INFO()
166
167 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_rewind, 0, 0, IS_VOID, 0)
168 ZEND_END_ARG_INFO()
169
170 #define arginfo_class_ion_Reader_Reader_next arginfo_class_ion_Reader_Reader_rewind
171
172 #define arginfo_class_ion_Reader_Reader_valid arginfo_class_ion_Decimal_isInt
173
174 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Reader_key, 0, 0, IS_MIXED, 0)
175 ZEND_END_ARG_INFO()
176
177 #define arginfo_class_ion_Reader_Reader_current arginfo_class_ion_Reader_Reader_key
178
179 #define arginfo_class_ion_Reader_Reader_getType arginfo_class_ion_Reader_getType
180
181 #define arginfo_class_ion_Reader_Reader_hasAnnotations arginfo_class_ion_Decimal_isInt
182
183 #define arginfo_class_ion_Reader_Reader_hasAnnotation arginfo_class_ion_Reader_hasAnnotation
184
185 #define arginfo_class_ion_Reader_Reader_isNull arginfo_class_ion_Decimal_isInt
186
187 #define arginfo_class_ion_Reader_Reader_isInStruct arginfo_class_ion_Decimal_isInt
188
189 #define arginfo_class_ion_Reader_Reader_getFieldName arginfo_class_ion_Symbol___toString
190
191 #define arginfo_class_ion_Reader_Reader_getFieldNameSymbol arginfo_class_ion_Reader_getFieldNameSymbol
192
193 #define arginfo_class_ion_Reader_Reader_getAnnotations arginfo_class_ion_Reader_getAnnotations
194
195 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbols arginfo_class_ion_Reader_getAnnotations
196
197 #define arginfo_class_ion_Reader_Reader_countAnnotations arginfo_class_ion_Decimal_toInt
198
199 #define arginfo_class_ion_Reader_Reader_getAnnotation arginfo_class_ion_Reader_getAnnotation
200
201 #define arginfo_class_ion_Reader_Reader_getAnnotationSymbol arginfo_class_ion_Reader_getAnnotationSymbol
202
203 #define arginfo_class_ion_Reader_Reader_readNull arginfo_class_ion_Reader_getType
204
205 #define arginfo_class_ion_Reader_Reader_readBool arginfo_class_ion_Decimal_isInt
206
207 #define arginfo_class_ion_Reader_Reader_readInt arginfo_class_ion_Reader_readInt
208
209 #define arginfo_class_ion_Reader_Reader_readFloat arginfo_class_ion_Reader_readFloat
210
211 #define arginfo_class_ion_Reader_Reader_readDecimal arginfo_class_ion_Reader_readDecimal
212
213 #define arginfo_class_ion_Reader_Reader_readTimestamp arginfo_class_ion_Reader_readTimestamp
214
215 #define arginfo_class_ion_Reader_Reader_readSymbol arginfo_class_ion_Reader_getFieldNameSymbol
216
217 #define arginfo_class_ion_Reader_Reader_readString arginfo_class_ion_Symbol___toString
218
219 #define arginfo_class_ion_Reader_Reader_readStringPart arginfo_class_ion_Reader_readStringPart
220
221 #define arginfo_class_ion_Reader_Reader_readLob arginfo_class_ion_Symbol___toString
222
223 #define arginfo_class_ion_Reader_Reader_readLobPart arginfo_class_ion_Reader_readStringPart
224
225 #define arginfo_class_ion_Reader_Reader_getPosition arginfo_class_ion_Decimal_toInt
226
227 #define arginfo_class_ion_Reader_Reader_getDepth arginfo_class_ion_Decimal_toInt
228
229 #define arginfo_class_ion_Reader_Reader_seek arginfo_class_ion_Reader_seek
230
231 #define arginfo_class_ion_Reader_Reader_getValueOffset arginfo_class_ion_Decimal_toInt
232
233 #define arginfo_class_ion_Reader_Reader_getValueLength arginfo_class_ion_Decimal_toInt
234
235 #define arginfo_class_ion_Reader_Buffer_getBuffer arginfo_class_ion_Symbol___toString
236
237 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Buffer_Reader___construct, 0, 0, 1)
238 ZEND_ARG_TYPE_INFO(0, buffer, IS_STRING, 0)
239 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
240 ZEND_END_ARG_INFO()
241
242 #define arginfo_class_ion_Reader_Buffer_Reader_getBuffer arginfo_class_ion_Symbol___toString
243
244 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_getStream, 0, 0, 0)
245 ZEND_END_ARG_INFO()
246
247 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStream, 0, 1, IS_VOID, 0)
248 ZEND_ARG_INFO(0, stream)
249 ZEND_END_ARG_INFO()
250
251 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Reader_Stream_resetStreamWithLength, 0, 2, IS_VOID, 0)
252 ZEND_ARG_INFO(0, stream)
253 ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0)
254 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "-1")
255 ZEND_END_ARG_INFO()
256
257 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Reader_Stream_Reader___construct, 0, 0, 1)
258 ZEND_ARG_INFO(0, stream)
259 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Reader\\Options, 1, "null")
260 ZEND_END_ARG_INFO()
261
262 #define arginfo_class_ion_Reader_Stream_Reader_getStream arginfo_class_ion_Reader_Stream_getStream
263
264 #define arginfo_class_ion_Reader_Stream_Reader_resetStream arginfo_class_ion_Reader_Stream_resetStream
265
266 #define arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength arginfo_class_ion_Reader_Stream_resetStreamWithLength
267
268 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Options___construct, 0, 0, 0)
269 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, catalog, ion\\Catalog, 1, "null")
270 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, decimalContext, ion\\Decimal\\Context, 1, "null")
271 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, encodingSymbolTable, ion\\Collection, 1, "null")
272 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, outputBinary, _IS_BOOL, 0, "false")
273 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compactFloats, _IS_BOOL, 0, "false")
274 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escapeNonAscii, _IS_BOOL, 0, "false")
275 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prettyPrint, _IS_BOOL, 0, "false")
276 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentTabs, _IS_BOOL, 0, "true")
277 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, indentSize, IS_LONG, 0, "2")
278 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, smallContainersInline, _IS_BOOL, 0, "true")
279 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, suppressSystemValues, _IS_BOOL, 0, "false")
280 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flushEveryValue, _IS_BOOL, 0, "false")
281 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxContainerDepth, IS_LONG, 0, "10")
282 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, maxAnnotations, IS_LONG, 0, "10")
283 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, tempBufferSize, IS_LONG, 0, "0x400")
284 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, allocationPageSize, IS_LONG, 0, "0x1000")
285 ZEND_END_ARG_INFO()
286
287 #define arginfo_class_ion_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
288
289 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTypedNull, 0, 1, IS_VOID, 0)
290 ZEND_ARG_OBJ_INFO(0, type, ion\\Type, 0)
291 ZEND_END_ARG_INFO()
292
293 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeBool, 0, 1, IS_VOID, 0)
294 ZEND_ARG_TYPE_INFO(0, value, _IS_BOOL, 0)
295 ZEND_END_ARG_INFO()
296
297 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeInt, 0, 1, IS_VOID, 0)
298 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_STRING, NULL)
299 ZEND_END_ARG_INFO()
300
301 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFloat, 0, 1, IS_VOID, 0)
302 ZEND_ARG_TYPE_INFO(0, value, IS_DOUBLE, 0)
303 ZEND_END_ARG_INFO()
304
305 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeDecimal, 0, 1, IS_VOID, 0)
306 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Decimal, MAY_BE_STRING, NULL)
307 ZEND_END_ARG_INFO()
308
309 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeTimestamp, 0, 1, IS_VOID, 0)
310 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Timestamp, MAY_BE_STRING, NULL)
311 ZEND_END_ARG_INFO()
312
313 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeSymbol, 0, 1, IS_VOID, 0)
314 ZEND_ARG_OBJ_TYPE_MASK(0, value, ion\\Symbol, MAY_BE_STRING, NULL)
315 ZEND_END_ARG_INFO()
316
317 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeString, 0, 1, IS_VOID, 0)
318 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
319 ZEND_END_ARG_INFO()
320
321 #define arginfo_class_ion_Writer_writeCLob arginfo_class_ion_Writer_writeString
322
323 #define arginfo_class_ion_Writer_writeBLob arginfo_class_ion_Writer_writeString
324
325 #define arginfo_class_ion_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
326
327 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_appendLob, 0, 1, IS_VOID, 0)
328 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
329 ZEND_END_ARG_INFO()
330
331 #define arginfo_class_ion_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
332
333 #define arginfo_class_ion_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
334
335 #define arginfo_class_ion_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
336
337 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeFieldName, 0, 1, IS_VOID, 0)
338 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
339 ZEND_END_ARG_INFO()
340
341 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeAnnotation, 0, 0, IS_VOID, 0)
342 ZEND_ARG_VARIADIC_OBJ_TYPE_MASK(0, annotation, ion\\Symbol, MAY_BE_STRING, NULL)
343 ZEND_END_ARG_INFO()
344
345 #define arginfo_class_ion_Writer_getDepth arginfo_class_ion_Decimal_toInt
346
347 #define arginfo_class_ion_Writer_flush arginfo_class_ion_Decimal_toInt
348
349 #define arginfo_class_ion_Writer_finish arginfo_class_ion_Decimal_toInt
350
351 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Writer_writeOne, 0, 1, IS_VOID, 0)
352 ZEND_ARG_OBJ_INFO(0, reader, ion\\Reader, 0)
353 ZEND_END_ARG_INFO()
354
355 #define arginfo_class_ion_Writer_writeAll arginfo_class_ion_Writer_writeOne
356
357 #define arginfo_class_ion_Writer_Writer_writeNull arginfo_class_ion_Reader_Reader_rewind
358
359 #define arginfo_class_ion_Writer_Writer_writeTypedNull arginfo_class_ion_Writer_writeTypedNull
360
361 #define arginfo_class_ion_Writer_Writer_writeBool arginfo_class_ion_Writer_writeBool
362
363 #define arginfo_class_ion_Writer_Writer_writeInt arginfo_class_ion_Writer_writeInt
364
365 #define arginfo_class_ion_Writer_Writer_writeFloat arginfo_class_ion_Writer_writeFloat
366
367 #define arginfo_class_ion_Writer_Writer_writeDecimal arginfo_class_ion_Writer_writeDecimal
368
369 #define arginfo_class_ion_Writer_Writer_writeTimestamp arginfo_class_ion_Writer_writeTimestamp
370
371 #define arginfo_class_ion_Writer_Writer_writeSymbol arginfo_class_ion_Writer_writeSymbol
372
373 #define arginfo_class_ion_Writer_Writer_writeString arginfo_class_ion_Writer_writeString
374
375 #define arginfo_class_ion_Writer_Writer_writeCLob arginfo_class_ion_Writer_writeString
376
377 #define arginfo_class_ion_Writer_Writer_writeBLob arginfo_class_ion_Writer_writeString
378
379 #define arginfo_class_ion_Writer_Writer_startLob arginfo_class_ion_Writer_writeTypedNull
380
381 #define arginfo_class_ion_Writer_Writer_appendLob arginfo_class_ion_Writer_appendLob
382
383 #define arginfo_class_ion_Writer_Writer_finishLob arginfo_class_ion_Reader_Reader_rewind
384
385 #define arginfo_class_ion_Writer_Writer_startContainer arginfo_class_ion_Writer_writeTypedNull
386
387 #define arginfo_class_ion_Writer_Writer_finishContainer arginfo_class_ion_Reader_Reader_rewind
388
389 #define arginfo_class_ion_Writer_Writer_writeFieldName arginfo_class_ion_Writer_writeFieldName
390
391 #define arginfo_class_ion_Writer_Writer_writeAnnotation arginfo_class_ion_Writer_writeAnnotation
392
393 #define arginfo_class_ion_Writer_Writer_getDepth arginfo_class_ion_Decimal_toInt
394
395 #define arginfo_class_ion_Writer_Writer_flush arginfo_class_ion_Decimal_toInt
396
397 #define arginfo_class_ion_Writer_Writer_finish arginfo_class_ion_Decimal_toInt
398
399 #define arginfo_class_ion_Writer_Writer_writeOne arginfo_class_ion_Writer_writeOne
400
401 #define arginfo_class_ion_Writer_Writer_writeAll arginfo_class_ion_Writer_writeOne
402
403 #define arginfo_class_ion_Writer_Buffer_getBuffer arginfo_class_ion_Symbol___toString
404
405 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Buffer_Writer___construct, 0, 0, 1)
406 ZEND_ARG_TYPE_INFO(1, buffer, IS_STRING, 1)
407 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
408 ZEND_END_ARG_INFO()
409
410 #define arginfo_class_ion_Writer_Buffer_Writer_getBuffer arginfo_class_ion_Symbol___toString
411
412 #define arginfo_class_ion_Writer_Stream_getStream arginfo_class_ion_Reader_Stream_getStream
413
414 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Writer_Stream_Writer___construct, 0, 0, 1)
415 ZEND_ARG_INFO(0, stream)
416 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, options, ion\\Writer\\Options, 1, "null")
417 ZEND_END_ARG_INFO()
418
419 #define arginfo_class_ion_Writer_Stream_Writer_getStream arginfo_class_ion_Reader_Stream_getStream
420
421 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Serializer___invoke, 0, 1, IS_STRING, 0)
422 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
423 ZEND_END_ARG_INFO()
424
425 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ion_Unserializer___invoke, 0, 1, IS_MIXED, 0)
426 ZEND_ARG_INFO(0, data)
427 ZEND_END_ARG_INFO()
428
429 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Serializer_PHP___construct, 0, 0, 0)
430 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, writerOptions, ion\\Writer\\Options, 1, "null")
431 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicSerialize, _IS_BOOL, 0, "true")
432 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomSerialize, IS_STRING, 1, "null")
433 ZEND_END_ARG_INFO()
434
435 #define arginfo_class_ion_Serializer_PHP___invoke arginfo_class_ion_Serializer___invoke
436
437 #define arginfo_class_ion_Serializer_PHP_serialize arginfo_class_ion_Serializer___invoke
438
439 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Unserializer_PHP___construct, 0, 0, 0)
440 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, readerOptions, ion\\Reader\\Options, 1, "null")
441 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicUnserialize, _IS_BOOL, 0, "true")
442 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomUnserialize, IS_STRING, 1, "null")
443 ZEND_END_ARG_INFO()
444
445 #define arginfo_class_ion_Unserializer_PHP___invoke arginfo_class_ion_Unserializer___invoke
446
447 #define arginfo_class_ion_Unserializer_PHP_unserialize arginfo_class_ion_Unserializer___invoke
448
449
450 ZEND_FUNCTION(ion_serialize);
451 ZEND_FUNCTION(ion_unserialize);
452 ZEND_METHOD(ion_Symbol_ImportLocation, __construct);
453 ZEND_METHOD(ion_Symbol, __construct);
454 ZEND_METHOD(ion_Symbol, equals);
455 ZEND_METHOD(ion_Symbol, __toString);
456 ZEND_METHOD(ion_LOB, __construct);
457 ZEND_METHOD(ion_Decimal_Context, __construct);
458 ZEND_METHOD(ion_Decimal, __construct);
459 ZEND_METHOD(ion_Decimal, equals);
460 ZEND_METHOD(ion_Decimal, isInt);
461 ZEND_METHOD(ion_Decimal, __toString);
462 ZEND_METHOD(ion_Decimal, toInt);
463 ZEND_METHOD(ion_Timestamp, __construct);
464 ZEND_METHOD(ion_Timestamp, __toString);
465 ZEND_METHOD(ion_Reader_Options, __construct);
466 ZEND_METHOD(ion_Reader_Reader, hasChildren);
467 ZEND_METHOD(ion_Reader_Reader, getChildren);
468 ZEND_METHOD(ion_Reader_Reader, rewind);
469 ZEND_METHOD(ion_Reader_Reader, next);
470 ZEND_METHOD(ion_Reader_Reader, valid);
471 ZEND_METHOD(ion_Reader_Reader, key);
472 ZEND_METHOD(ion_Reader_Reader, current);
473 ZEND_METHOD(ion_Reader_Reader, getType);
474 ZEND_METHOD(ion_Reader_Reader, hasAnnotations);
475 ZEND_METHOD(ion_Reader_Reader, hasAnnotation);
476 ZEND_METHOD(ion_Reader_Reader, isNull);
477 ZEND_METHOD(ion_Reader_Reader, isInStruct);
478 ZEND_METHOD(ion_Reader_Reader, getFieldName);
479 ZEND_METHOD(ion_Reader_Reader, getFieldNameSymbol);
480 ZEND_METHOD(ion_Reader_Reader, getAnnotations);
481 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbols);
482 ZEND_METHOD(ion_Reader_Reader, countAnnotations);
483 ZEND_METHOD(ion_Reader_Reader, getAnnotation);
484 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbol);
485 ZEND_METHOD(ion_Reader_Reader, readNull);
486 ZEND_METHOD(ion_Reader_Reader, readBool);
487 ZEND_METHOD(ion_Reader_Reader, readInt);
488 ZEND_METHOD(ion_Reader_Reader, readFloat);
489 ZEND_METHOD(ion_Reader_Reader, readDecimal);
490 ZEND_METHOD(ion_Reader_Reader, readTimestamp);
491 ZEND_METHOD(ion_Reader_Reader, readSymbol);
492 ZEND_METHOD(ion_Reader_Reader, readString);
493 ZEND_METHOD(ion_Reader_Reader, readStringPart);
494 ZEND_METHOD(ion_Reader_Reader, readLob);
495 ZEND_METHOD(ion_Reader_Reader, readLobPart);
496 ZEND_METHOD(ion_Reader_Reader, getPosition);
497 ZEND_METHOD(ion_Reader_Reader, getDepth);
498 ZEND_METHOD(ion_Reader_Reader, seek);
499 ZEND_METHOD(ion_Reader_Reader, getValueOffset);
500 ZEND_METHOD(ion_Reader_Reader, getValueLength);
501 ZEND_METHOD(ion_Reader_Buffer_Reader, __construct);
502 ZEND_METHOD(ion_Reader_Buffer_Reader, getBuffer);
503 ZEND_METHOD(ion_Reader_Stream_Reader, __construct);
504 ZEND_METHOD(ion_Reader_Stream_Reader, getStream);
505 ZEND_METHOD(ion_Reader_Stream_Reader, resetStream);
506 ZEND_METHOD(ion_Reader_Stream_Reader, resetStreamWithLength);
507 ZEND_METHOD(ion_Writer_Options, __construct);
508 ZEND_METHOD(ion_Writer_Writer, writeNull);
509 ZEND_METHOD(ion_Writer_Writer, writeTypedNull);
510 ZEND_METHOD(ion_Writer_Writer, writeBool);
511 ZEND_METHOD(ion_Writer_Writer, writeInt);
512 ZEND_METHOD(ion_Writer_Writer, writeFloat);
513 ZEND_METHOD(ion_Writer_Writer, writeDecimal);
514 ZEND_METHOD(ion_Writer_Writer, writeTimestamp);
515 ZEND_METHOD(ion_Writer_Writer, writeSymbol);
516 ZEND_METHOD(ion_Writer_Writer, writeString);
517 ZEND_METHOD(ion_Writer_Writer, writeCLob);
518 ZEND_METHOD(ion_Writer_Writer, writeBLob);
519 ZEND_METHOD(ion_Writer_Writer, startLob);
520 ZEND_METHOD(ion_Writer_Writer, appendLob);
521 ZEND_METHOD(ion_Writer_Writer, finishLob);
522 ZEND_METHOD(ion_Writer_Writer, startContainer);
523 ZEND_METHOD(ion_Writer_Writer, finishContainer);
524 ZEND_METHOD(ion_Writer_Writer, writeFieldName);
525 ZEND_METHOD(ion_Writer_Writer, writeAnnotation);
526 ZEND_METHOD(ion_Writer_Writer, getDepth);
527 ZEND_METHOD(ion_Writer_Writer, flush);
528 ZEND_METHOD(ion_Writer_Writer, finish);
529 ZEND_METHOD(ion_Writer_Writer, writeOne);
530 ZEND_METHOD(ion_Writer_Writer, writeAll);
531 ZEND_METHOD(ion_Writer_Buffer_Writer, __construct);
532 ZEND_METHOD(ion_Writer_Buffer_Writer, getBuffer);
533 ZEND_METHOD(ion_Writer_Stream_Writer, __construct);
534 ZEND_METHOD(ion_Writer_Stream_Writer, getStream);
535 ZEND_METHOD(ion_Serializer_PHP, __construct);
536 ZEND_METHOD(ion_Serializer_PHP, __invoke);
537 ZEND_METHOD(ion_Serializer_PHP, serialize);
538 ZEND_METHOD(ion_Unserializer_PHP, __construct);
539 ZEND_METHOD(ion_Unserializer_PHP, __invoke);
540 ZEND_METHOD(ion_Unserializer_PHP, unserialize);
541
542
543 static const zend_function_entry ext_functions[] = {
544 ZEND_NS_RAW_FENTRY("ion", "serialize", ZEND_FN(ion_serialize), arginfo_ion_serialize, 0)
545 ZEND_NS_RAW_FENTRY("ion", "unserialize", ZEND_FN(ion_unserialize), arginfo_ion_unserialize, 0)
546 ZEND_FE_END
547 };
548
549
550 static const zend_function_entry class_ion_Type_methods[] = {
551 ZEND_FE_END
552 };
553
554
555 static const zend_function_entry class_ion_Annotation_methods[] = {
556 ZEND_FE_END
557 };
558
559
560 static const zend_function_entry class_ion_Symbol_ImportLocation_methods[] = {
561 ZEND_ME(ion_Symbol_ImportLocation, __construct, arginfo_class_ion_Symbol_ImportLocation___construct, ZEND_ACC_PUBLIC)
562 ZEND_FE_END
563 };
564
565
566 static const zend_function_entry class_ion_Symbol_System_methods[] = {
567 ZEND_FE_END
568 };
569
570
571 static const zend_function_entry class_ion_Symbol_System_SID_methods[] = {
572 ZEND_FE_END
573 };
574
575
576 static const zend_function_entry class_ion_Symbol_methods[] = {
577 ZEND_ME(ion_Symbol, __construct, arginfo_class_ion_Symbol___construct, ZEND_ACC_PUBLIC)
578 ZEND_ME(ion_Symbol, equals, arginfo_class_ion_Symbol_equals, ZEND_ACC_PUBLIC)
579 ZEND_ME(ion_Symbol, __toString, arginfo_class_ion_Symbol___toString, ZEND_ACC_PUBLIC)
580 ZEND_MALIAS(ion_Symbol, toString, __toString, arginfo_class_ion_Symbol_toString, ZEND_ACC_PUBLIC)
581 ZEND_FE_END
582 };
583
584
585 static const zend_function_entry class_ion_Symbol_Table_methods[] = {
586 ZEND_FE_END
587 };
588
589
590 static const zend_function_entry class_ion_Catalog_methods[] = {
591 ZEND_FE_END
592 };
593
594
595 static const zend_function_entry class_ion_Collection_methods[] = {
596 ZEND_FE_END
597 };
598
599
600 static const zend_function_entry class_ion_LOB_methods[] = {
601 ZEND_ME(ion_LOB, __construct, arginfo_class_ion_LOB___construct, ZEND_ACC_PUBLIC)
602 ZEND_FE_END
603 };
604
605
606 static const zend_function_entry class_ion_Decimal_Context_methods[] = {
607 ZEND_ME(ion_Decimal_Context, __construct, arginfo_class_ion_Decimal_Context___construct, ZEND_ACC_PUBLIC)
608 ZEND_FE_END
609 };
610
611
612 static const zend_function_entry class_ion_Decimal_methods[] = {
613 ZEND_ME(ion_Decimal, __construct, arginfo_class_ion_Decimal___construct, ZEND_ACC_PUBLIC)
614 ZEND_ME(ion_Decimal, equals, arginfo_class_ion_Decimal_equals, ZEND_ACC_PUBLIC)
615 ZEND_ME(ion_Decimal, isInt, arginfo_class_ion_Decimal_isInt, ZEND_ACC_PUBLIC)
616 ZEND_ME(ion_Decimal, __toString, arginfo_class_ion_Decimal___toString, ZEND_ACC_PUBLIC)
617 ZEND_MALIAS(ion_Decimal, toString, __toString, arginfo_class_ion_Decimal_toString, ZEND_ACC_PUBLIC)
618 ZEND_ME(ion_Decimal, toInt, arginfo_class_ion_Decimal_toInt, ZEND_ACC_PUBLIC)
619 ZEND_FE_END
620 };
621
622
623 static const zend_function_entry class_ion_Timestamp_Precision_methods[] = {
624 ZEND_FE_END
625 };
626
627
628 static const zend_function_entry class_ion_Timestamp_methods[] = {
629 ZEND_ME(ion_Timestamp, __construct, arginfo_class_ion_Timestamp___construct, ZEND_ACC_PUBLIC)
630 ZEND_ME(ion_Timestamp, __toString, arginfo_class_ion_Timestamp___toString, ZEND_ACC_PUBLIC)
631 ZEND_FE_END
632 };
633
634
635 static const zend_function_entry class_ion_Reader_methods[] = {
636 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getType, arginfo_class_ion_Reader_getType, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
637 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotations, arginfo_class_ion_Reader_hasAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
638 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotation, arginfo_class_ion_Reader_hasAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
639 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isNull, arginfo_class_ion_Reader_isNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
640 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isInStruct, arginfo_class_ion_Reader_isInStruct, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
641 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldName, arginfo_class_ion_Reader_getFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
642 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
643 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotations, arginfo_class_ion_Reader_getAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
644 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
645 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, countAnnotations, arginfo_class_ion_Reader_countAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
646 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotation, arginfo_class_ion_Reader_getAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
647 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
648 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readNull, arginfo_class_ion_Reader_readNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
649 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readBool, arginfo_class_ion_Reader_readBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
650 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readInt, arginfo_class_ion_Reader_readInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
651 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readFloat, arginfo_class_ion_Reader_readFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
652 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readDecimal, arginfo_class_ion_Reader_readDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
653 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readTimestamp, arginfo_class_ion_Reader_readTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
654 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readSymbol, arginfo_class_ion_Reader_readSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
655 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readString, arginfo_class_ion_Reader_readString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
656 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readStringPart, arginfo_class_ion_Reader_readStringPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
657 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLob, arginfo_class_ion_Reader_readLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
658 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLobPart, arginfo_class_ion_Reader_readLobPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
659 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getPosition, arginfo_class_ion_Reader_getPosition, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
660 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getDepth, arginfo_class_ion_Reader_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
661 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, seek, arginfo_class_ion_Reader_seek, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
662 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueOffset, arginfo_class_ion_Reader_getValueOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
663 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueLength, arginfo_class_ion_Reader_getValueLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
664 ZEND_FE_END
665 };
666
667
668 static const zend_function_entry class_ion_Reader_Options_methods[] = {
669 ZEND_ME(ion_Reader_Options, __construct, arginfo_class_ion_Reader_Options___construct, ZEND_ACC_PUBLIC)
670 ZEND_FE_END
671 };
672
673
674 static const zend_function_entry class_ion_Reader_Reader_methods[] = {
675 ZEND_ME(ion_Reader_Reader, hasChildren, arginfo_class_ion_Reader_Reader_hasChildren, ZEND_ACC_PUBLIC)
676 ZEND_ME(ion_Reader_Reader, getChildren, arginfo_class_ion_Reader_Reader_getChildren, ZEND_ACC_PUBLIC)
677 ZEND_ME(ion_Reader_Reader, rewind, arginfo_class_ion_Reader_Reader_rewind, ZEND_ACC_PUBLIC)
678 ZEND_ME(ion_Reader_Reader, next, arginfo_class_ion_Reader_Reader_next, ZEND_ACC_PUBLIC)
679 ZEND_ME(ion_Reader_Reader, valid, arginfo_class_ion_Reader_Reader_valid, ZEND_ACC_PUBLIC)
680 ZEND_ME(ion_Reader_Reader, key, arginfo_class_ion_Reader_Reader_key, ZEND_ACC_PUBLIC)
681 ZEND_ME(ion_Reader_Reader, current, arginfo_class_ion_Reader_Reader_current, ZEND_ACC_PUBLIC)
682 ZEND_ME(ion_Reader_Reader, getType, arginfo_class_ion_Reader_Reader_getType, ZEND_ACC_PUBLIC)
683 ZEND_ME(ion_Reader_Reader, hasAnnotations, arginfo_class_ion_Reader_Reader_hasAnnotations, ZEND_ACC_PUBLIC)
684 ZEND_ME(ion_Reader_Reader, hasAnnotation, arginfo_class_ion_Reader_Reader_hasAnnotation, ZEND_ACC_PUBLIC)
685 ZEND_ME(ion_Reader_Reader, isNull, arginfo_class_ion_Reader_Reader_isNull, ZEND_ACC_PUBLIC)
686 ZEND_ME(ion_Reader_Reader, isInStruct, arginfo_class_ion_Reader_Reader_isInStruct, ZEND_ACC_PUBLIC)
687 ZEND_ME(ion_Reader_Reader, getFieldName, arginfo_class_ion_Reader_Reader_getFieldName, ZEND_ACC_PUBLIC)
688 ZEND_ME(ion_Reader_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC)
689 ZEND_ME(ion_Reader_Reader, getAnnotations, arginfo_class_ion_Reader_Reader_getAnnotations, ZEND_ACC_PUBLIC)
690 ZEND_ME(ion_Reader_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC)
691 ZEND_ME(ion_Reader_Reader, countAnnotations, arginfo_class_ion_Reader_Reader_countAnnotations, ZEND_ACC_PUBLIC)
692 ZEND_ME(ion_Reader_Reader, getAnnotation, arginfo_class_ion_Reader_Reader_getAnnotation, ZEND_ACC_PUBLIC)
693 ZEND_ME(ion_Reader_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC)
694 ZEND_ME(ion_Reader_Reader, readNull, arginfo_class_ion_Reader_Reader_readNull, ZEND_ACC_PUBLIC)
695 ZEND_ME(ion_Reader_Reader, readBool, arginfo_class_ion_Reader_Reader_readBool, ZEND_ACC_PUBLIC)
696 ZEND_ME(ion_Reader_Reader, readInt, arginfo_class_ion_Reader_Reader_readInt, ZEND_ACC_PUBLIC)
697 ZEND_ME(ion_Reader_Reader, readFloat, arginfo_class_ion_Reader_Reader_readFloat, ZEND_ACC_PUBLIC)
698 ZEND_ME(ion_Reader_Reader, readDecimal, arginfo_class_ion_Reader_Reader_readDecimal, ZEND_ACC_PUBLIC)
699 ZEND_ME(ion_Reader_Reader, readTimestamp, arginfo_class_ion_Reader_Reader_readTimestamp, ZEND_ACC_PUBLIC)
700 ZEND_ME(ion_Reader_Reader, readSymbol, arginfo_class_ion_Reader_Reader_readSymbol, ZEND_ACC_PUBLIC)
701 ZEND_ME(ion_Reader_Reader, readString, arginfo_class_ion_Reader_Reader_readString, ZEND_ACC_PUBLIC)
702 ZEND_ME(ion_Reader_Reader, readStringPart, arginfo_class_ion_Reader_Reader_readStringPart, ZEND_ACC_PUBLIC)
703 ZEND_ME(ion_Reader_Reader, readLob, arginfo_class_ion_Reader_Reader_readLob, ZEND_ACC_PUBLIC)
704 ZEND_ME(ion_Reader_Reader, readLobPart, arginfo_class_ion_Reader_Reader_readLobPart, ZEND_ACC_PUBLIC)
705 ZEND_ME(ion_Reader_Reader, getPosition, arginfo_class_ion_Reader_Reader_getPosition, ZEND_ACC_PUBLIC)
706 ZEND_ME(ion_Reader_Reader, getDepth, arginfo_class_ion_Reader_Reader_getDepth, ZEND_ACC_PUBLIC)
707 ZEND_ME(ion_Reader_Reader, seek, arginfo_class_ion_Reader_Reader_seek, ZEND_ACC_PUBLIC)
708 ZEND_ME(ion_Reader_Reader, getValueOffset, arginfo_class_ion_Reader_Reader_getValueOffset, ZEND_ACC_PUBLIC)
709 ZEND_ME(ion_Reader_Reader, getValueLength, arginfo_class_ion_Reader_Reader_getValueLength, ZEND_ACC_PUBLIC)
710 ZEND_FE_END
711 };
712
713
714 static const zend_function_entry class_ion_Reader_Buffer_methods[] = {
715 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer, getBuffer, arginfo_class_ion_Reader_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
716 ZEND_FE_END
717 };
718
719
720 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods[] = {
721 ZEND_ME(ion_Reader_Buffer_Reader, __construct, arginfo_class_ion_Reader_Buffer_Reader___construct, ZEND_ACC_PUBLIC)
722 ZEND_ME(ion_Reader_Buffer_Reader, getBuffer, arginfo_class_ion_Reader_Buffer_Reader_getBuffer, ZEND_ACC_PUBLIC)
723 ZEND_FE_END
724 };
725
726
727 static const zend_function_entry class_ion_Reader_Stream_methods[] = {
728 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, getStream, arginfo_class_ion_Reader_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
729 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStream, arginfo_class_ion_Reader_Stream_resetStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
730 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStreamWithLength, arginfo_class_ion_Reader_Stream_resetStreamWithLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
731 ZEND_FE_END
732 };
733
734
735 static const zend_function_entry class_ion_Reader_Stream_Reader_methods[] = {
736 ZEND_ME(ion_Reader_Stream_Reader, __construct, arginfo_class_ion_Reader_Stream_Reader___construct, ZEND_ACC_PUBLIC)
737 ZEND_ME(ion_Reader_Stream_Reader, getStream, arginfo_class_ion_Reader_Stream_Reader_getStream, ZEND_ACC_PUBLIC)
738 ZEND_ME(ion_Reader_Stream_Reader, resetStream, arginfo_class_ion_Reader_Stream_Reader_resetStream, ZEND_ACC_PUBLIC)
739 ZEND_ME(ion_Reader_Stream_Reader, resetStreamWithLength, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength, ZEND_ACC_PUBLIC)
740 ZEND_FE_END
741 };
742
743
744 static const zend_function_entry class_ion_Writer_Options_methods[] = {
745 ZEND_ME(ion_Writer_Options, __construct, arginfo_class_ion_Writer_Options___construct, ZEND_ACC_PUBLIC)
746 ZEND_FE_END
747 };
748
749
750 static const zend_function_entry class_ion_Writer_methods[] = {
751 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeNull, arginfo_class_ion_Writer_writeNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
752 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTypedNull, arginfo_class_ion_Writer_writeTypedNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
753 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBool, arginfo_class_ion_Writer_writeBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
754 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeInt, arginfo_class_ion_Writer_writeInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
755 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFloat, arginfo_class_ion_Writer_writeFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
756 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeDecimal, arginfo_class_ion_Writer_writeDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
757 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTimestamp, arginfo_class_ion_Writer_writeTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
758 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeSymbol, arginfo_class_ion_Writer_writeSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
759 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeString, arginfo_class_ion_Writer_writeString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
760 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeCLob, arginfo_class_ion_Writer_writeCLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
761 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBLob, arginfo_class_ion_Writer_writeBLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
762 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startLob, arginfo_class_ion_Writer_startLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
763 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, appendLob, arginfo_class_ion_Writer_appendLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
764 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishLob, arginfo_class_ion_Writer_finishLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
765 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startContainer, arginfo_class_ion_Writer_startContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
766 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishContainer, arginfo_class_ion_Writer_finishContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
767 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFieldName, arginfo_class_ion_Writer_writeFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
768 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAnnotation, arginfo_class_ion_Writer_writeAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
769 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, getDepth, arginfo_class_ion_Writer_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
770 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, flush, arginfo_class_ion_Writer_flush, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
771 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finish, arginfo_class_ion_Writer_finish, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
772 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeOne, arginfo_class_ion_Writer_writeOne, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
773 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAll, arginfo_class_ion_Writer_writeAll, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
774 ZEND_FE_END
775 };
776
777
778 static const zend_function_entry class_ion_Writer_Writer_methods[] = {
779 ZEND_ME(ion_Writer_Writer, writeNull, arginfo_class_ion_Writer_Writer_writeNull, ZEND_ACC_PUBLIC)
780 ZEND_ME(ion_Writer_Writer, writeTypedNull, arginfo_class_ion_Writer_Writer_writeTypedNull, ZEND_ACC_PUBLIC)
781 ZEND_ME(ion_Writer_Writer, writeBool, arginfo_class_ion_Writer_Writer_writeBool, ZEND_ACC_PUBLIC)
782 ZEND_ME(ion_Writer_Writer, writeInt, arginfo_class_ion_Writer_Writer_writeInt, ZEND_ACC_PUBLIC)
783 ZEND_ME(ion_Writer_Writer, writeFloat, arginfo_class_ion_Writer_Writer_writeFloat, ZEND_ACC_PUBLIC)
784 ZEND_ME(ion_Writer_Writer, writeDecimal, arginfo_class_ion_Writer_Writer_writeDecimal, ZEND_ACC_PUBLIC)
785 ZEND_ME(ion_Writer_Writer, writeTimestamp, arginfo_class_ion_Writer_Writer_writeTimestamp, ZEND_ACC_PUBLIC)
786 ZEND_ME(ion_Writer_Writer, writeSymbol, arginfo_class_ion_Writer_Writer_writeSymbol, ZEND_ACC_PUBLIC)
787 ZEND_ME(ion_Writer_Writer, writeString, arginfo_class_ion_Writer_Writer_writeString, ZEND_ACC_PUBLIC)
788 ZEND_ME(ion_Writer_Writer, writeCLob, arginfo_class_ion_Writer_Writer_writeCLob, ZEND_ACC_PUBLIC)
789 ZEND_ME(ion_Writer_Writer, writeBLob, arginfo_class_ion_Writer_Writer_writeBLob, ZEND_ACC_PUBLIC)
790 ZEND_ME(ion_Writer_Writer, startLob, arginfo_class_ion_Writer_Writer_startLob, ZEND_ACC_PUBLIC)
791 ZEND_ME(ion_Writer_Writer, appendLob, arginfo_class_ion_Writer_Writer_appendLob, ZEND_ACC_PUBLIC)
792 ZEND_ME(ion_Writer_Writer, finishLob, arginfo_class_ion_Writer_Writer_finishLob, ZEND_ACC_PUBLIC)
793 ZEND_ME(ion_Writer_Writer, startContainer, arginfo_class_ion_Writer_Writer_startContainer, ZEND_ACC_PUBLIC)
794 ZEND_ME(ion_Writer_Writer, finishContainer, arginfo_class_ion_Writer_Writer_finishContainer, ZEND_ACC_PUBLIC)
795 ZEND_ME(ion_Writer_Writer, writeFieldName, arginfo_class_ion_Writer_Writer_writeFieldName, ZEND_ACC_PUBLIC)
796 ZEND_ME(ion_Writer_Writer, writeAnnotation, arginfo_class_ion_Writer_Writer_writeAnnotation, ZEND_ACC_PUBLIC)
797 ZEND_ME(ion_Writer_Writer, getDepth, arginfo_class_ion_Writer_Writer_getDepth, ZEND_ACC_PUBLIC)
798 ZEND_ME(ion_Writer_Writer, flush, arginfo_class_ion_Writer_Writer_flush, ZEND_ACC_PUBLIC)
799 ZEND_ME(ion_Writer_Writer, finish, arginfo_class_ion_Writer_Writer_finish, ZEND_ACC_PUBLIC)
800 ZEND_ME(ion_Writer_Writer, writeOne, arginfo_class_ion_Writer_Writer_writeOne, ZEND_ACC_PUBLIC)
801 ZEND_ME(ion_Writer_Writer, writeAll, arginfo_class_ion_Writer_Writer_writeAll, ZEND_ACC_PUBLIC)
802 ZEND_FE_END
803 };
804
805
806 static const zend_function_entry class_ion_Writer_Buffer_methods[] = {
807 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer, getBuffer, arginfo_class_ion_Writer_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
808 ZEND_FE_END
809 };
810
811
812 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods[] = {
813 ZEND_ME(ion_Writer_Buffer_Writer, __construct, arginfo_class_ion_Writer_Buffer_Writer___construct, ZEND_ACC_PUBLIC)
814 ZEND_ME(ion_Writer_Buffer_Writer, getBuffer, arginfo_class_ion_Writer_Buffer_Writer_getBuffer, ZEND_ACC_PUBLIC)
815 ZEND_FE_END
816 };
817
818
819 static const zend_function_entry class_ion_Writer_Stream_methods[] = {
820 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream, getStream, arginfo_class_ion_Writer_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
821 ZEND_FE_END
822 };
823
824
825 static const zend_function_entry class_ion_Writer_Stream_Writer_methods[] = {
826 ZEND_ME(ion_Writer_Stream_Writer, __construct, arginfo_class_ion_Writer_Stream_Writer___construct, ZEND_ACC_PUBLIC)
827 ZEND_ME(ion_Writer_Stream_Writer, getStream, arginfo_class_ion_Writer_Stream_Writer_getStream, ZEND_ACC_PUBLIC)
828 ZEND_FE_END
829 };
830
831
832 static const zend_function_entry class_ion_Serializer_methods[] = {
833 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Serializer, __invoke, arginfo_class_ion_Serializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
834 ZEND_FE_END
835 };
836
837
838 static const zend_function_entry class_ion_Unserializer_methods[] = {
839 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Unserializer, __invoke, arginfo_class_ion_Unserializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
840 ZEND_FE_END
841 };
842
843
844 static const zend_function_entry class_ion_Serializer_PHP_methods[] = {
845 ZEND_ME(ion_Serializer_PHP, __construct, arginfo_class_ion_Serializer_PHP___construct, ZEND_ACC_PUBLIC)
846 ZEND_ME(ion_Serializer_PHP, __invoke, arginfo_class_ion_Serializer_PHP___invoke, ZEND_ACC_PUBLIC)
847 ZEND_ME(ion_Serializer_PHP, serialize, arginfo_class_ion_Serializer_PHP_serialize, ZEND_ACC_PROTECTED)
848 ZEND_FE_END
849 };
850
851
852 static const zend_function_entry class_ion_Unserializer_PHP_methods[] = {
853 ZEND_ME(ion_Unserializer_PHP, __construct, arginfo_class_ion_Unserializer_PHP___construct, ZEND_ACC_PUBLIC)
854 ZEND_ME(ion_Unserializer_PHP, __invoke, arginfo_class_ion_Unserializer_PHP___invoke, ZEND_ACC_PUBLIC)
855 ZEND_ME(ion_Unserializer_PHP, unserialize, arginfo_class_ion_Unserializer_PHP_unserialize, ZEND_ACC_PROTECTED)
856 ZEND_FE_END
857 };
858
859 static zend_class_entry *register_class_ion_Type(void)
860 {
861 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Type", IS_LONG, class_ion_Type_methods);
862
863 zval enum_case_Null_value;
864 ZVAL_LONG(&enum_case_Null_value, 0);
865 zend_enum_add_case_cstr(class_entry, "Null", &enum_case_Null_value);
866
867 zval enum_case_Bool_value;
868 ZVAL_LONG(&enum_case_Bool_value, 256);
869 zend_enum_add_case_cstr(class_entry, "Bool", &enum_case_Bool_value);
870
871 zval enum_case_Int_value;
872 ZVAL_LONG(&enum_case_Int_value, 512);
873 zend_enum_add_case_cstr(class_entry, "Int", &enum_case_Int_value);
874
875 zval enum_case_Float_value;
876 ZVAL_LONG(&enum_case_Float_value, 1024);
877 zend_enum_add_case_cstr(class_entry, "Float", &enum_case_Float_value);
878
879 zval enum_case_Decimal_value;
880 ZVAL_LONG(&enum_case_Decimal_value, 1280);
881 zend_enum_add_case_cstr(class_entry, "Decimal", &enum_case_Decimal_value);
882
883 zval enum_case_Timestamp_value;
884 ZVAL_LONG(&enum_case_Timestamp_value, 1536);
885 zend_enum_add_case_cstr(class_entry, "Timestamp", &enum_case_Timestamp_value);
886
887 zval enum_case_Symbol_value;
888 ZVAL_LONG(&enum_case_Symbol_value, 1792);
889 zend_enum_add_case_cstr(class_entry, "Symbol", &enum_case_Symbol_value);
890
891 zval enum_case_String_value;
892 ZVAL_LONG(&enum_case_String_value, 2048);
893 zend_enum_add_case_cstr(class_entry, "String", &enum_case_String_value);
894
895 zval enum_case_CLob_value;
896 ZVAL_LONG(&enum_case_CLob_value, 2304);
897 zend_enum_add_case_cstr(class_entry, "CLob", &enum_case_CLob_value);
898
899 zval enum_case_BLob_value;
900 ZVAL_LONG(&enum_case_BLob_value, 2560);
901 zend_enum_add_case_cstr(class_entry, "BLob", &enum_case_BLob_value);
902
903 zval enum_case_AList_value;
904 ZVAL_LONG(&enum_case_AList_value, 2816);
905 zend_enum_add_case_cstr(class_entry, "AList", &enum_case_AList_value);
906
907 zval enum_case_SExp_value;
908 ZVAL_LONG(&enum_case_SExp_value, 3072);
909 zend_enum_add_case_cstr(class_entry, "SExp", &enum_case_SExp_value);
910
911 zval enum_case_Struct_value;
912 ZVAL_LONG(&enum_case_Struct_value, 3328);
913 zend_enum_add_case_cstr(class_entry, "Struct", &enum_case_Struct_value);
914
915 zval enum_case_Datagram_value;
916 ZVAL_LONG(&enum_case_Datagram_value, 3840);
917 zend_enum_add_case_cstr(class_entry, "Datagram", &enum_case_Datagram_value);
918
919 zval enum_case_EOF_value;
920 ZVAL_LONG(&enum_case_EOF_value, -256);
921 zend_enum_add_case_cstr(class_entry, "EOF", &enum_case_EOF_value);
922
923 zval enum_case_NONE_value;
924 ZVAL_LONG(&enum_case_NONE_value, -512);
925 zend_enum_add_case_cstr(class_entry, "NONE", &enum_case_NONE_value);
926
927 return class_entry;
928 }
929
930 static zend_class_entry *register_class_ion_Annotation(void)
931 {
932 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Annotation", IS_STRING, class_ion_Annotation_methods);
933
934 zval enum_case_PHP_value;
935 zend_string *enum_case_PHP_value_str = zend_string_init("PHP", sizeof("PHP") - 1, 1);
936 ZVAL_STR(&enum_case_PHP_value, enum_case_PHP_value_str);
937 zend_enum_add_case_cstr(class_entry, "PHP", &enum_case_PHP_value);
938
939 zval enum_case_REFERENCE_value;
940 zend_string *enum_case_REFERENCE_value_str = zend_string_init("R", sizeof("R") - 1, 1);
941 ZVAL_STR(&enum_case_REFERENCE_value, enum_case_REFERENCE_value_str);
942 zend_enum_add_case_cstr(class_entry, "REFERENCE", &enum_case_REFERENCE_value);
943
944 zval enum_case_BACKREF_value;
945 zend_string *enum_case_BACKREF_value_str = zend_string_init("r", sizeof("r") - 1, 1);
946 ZVAL_STR(&enum_case_BACKREF_value, enum_case_BACKREF_value_str);
947 zend_enum_add_case_cstr(class_entry, "BACKREF", &enum_case_BACKREF_value);
948
949 zval enum_case_OBJECT_value;
950 zend_string *enum_case_OBJECT_value_str = zend_string_init("o", sizeof("o") - 1, 1);
951 ZVAL_STR(&enum_case_OBJECT_value, enum_case_OBJECT_value_str);
952 zend_enum_add_case_cstr(class_entry, "OBJECT", &enum_case_OBJECT_value);
953
954 zval enum_case_CLASS_OBJ_value;
955 zend_string *enum_case_CLASS_OBJ_value_str = zend_string_init("c", sizeof("c") - 1, 1);
956 ZVAL_STR(&enum_case_CLASS_OBJ_value, enum_case_CLASS_OBJ_value_str);
957 zend_enum_add_case_cstr(class_entry, "CLASS_OBJ", &enum_case_CLASS_OBJ_value);
958
959 zval enum_case_MAGIC_OBJ_value;
960 zend_string *enum_case_MAGIC_OBJ_value_str = zend_string_init("O", sizeof("O") - 1, 1);
961 ZVAL_STR(&enum_case_MAGIC_OBJ_value, enum_case_MAGIC_OBJ_value_str);
962 zend_enum_add_case_cstr(class_entry, "MAGIC_OBJ", &enum_case_MAGIC_OBJ_value);
963
964 zval enum_case_CUSTOM_OBJ_value;
965 zend_string *enum_case_CUSTOM_OBJ_value_str = zend_string_init("C", sizeof("C") - 1, 1);
966 ZVAL_STR(&enum_case_CUSTOM_OBJ_value, enum_case_CUSTOM_OBJ_value_str);
967 zend_enum_add_case_cstr(class_entry, "CUSTOM_OBJ", &enum_case_CUSTOM_OBJ_value);
968
969 zval enum_case_SERIALIZABLE_value;
970 zend_string *enum_case_SERIALIZABLE_value_str = zend_string_init("S", sizeof("S") - 1, 1);
971 ZVAL_STR(&enum_case_SERIALIZABLE_value, enum_case_SERIALIZABLE_value_str);
972 zend_enum_add_case_cstr(class_entry, "SERIALIZABLE", &enum_case_SERIALIZABLE_value);
973
974 zval enum_case_ENUM_value;
975 zend_string *enum_case_ENUM_value_str = zend_string_init("E", sizeof("E") - 1, 1);
976 ZVAL_STR(&enum_case_ENUM_value, enum_case_ENUM_value_str);
977 zend_enum_add_case_cstr(class_entry, "ENUM", &enum_case_ENUM_value);
978
979 zval enum_case_PROPERTY_value;
980 zend_string *enum_case_PROPERTY_value_str = zend_string_init("p", sizeof("p") - 1, 1);
981 ZVAL_STR(&enum_case_PROPERTY_value, enum_case_PROPERTY_value_str);
982 zend_enum_add_case_cstr(class_entry, "PROPERTY", &enum_case_PROPERTY_value);
983
984 return class_entry;
985 }
986
987 static zend_class_entry *register_class_ion_Symbol_ImportLocation(void)
988 {
989 zend_class_entry ce, *class_entry;
990
991 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods);
992 class_entry = zend_register_internal_class_ex(&ce, NULL);
993
994 zval property_name_default_value;
995 ZVAL_UNDEF(&property_name_default_value);
996 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
997 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
998 zend_string_release(property_name_name);
999
1000 zval property_location_default_value;
1001 ZVAL_UNDEF(&property_location_default_value);
1002 zend_string *property_location_name = zend_string_init("location", sizeof("location") - 1, 1);
1003 zend_declare_typed_property(class_entry, property_location_name, &property_location_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1004 zend_string_release(property_location_name);
1005
1006 return class_entry;
1007 }
1008
1009 static zend_class_entry *register_class_ion_Symbol_System(void)
1010 {
1011 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System", IS_STRING, class_ion_Symbol_System_methods);
1012
1013 zval enum_case_Ion_value;
1014 zend_string *enum_case_Ion_value_str = zend_string_init("$ion", sizeof("$ion") - 1, 1);
1015 ZVAL_STR(&enum_case_Ion_value, enum_case_Ion_value_str);
1016 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1017
1018 zval enum_case_Ivm_1_0_value;
1019 zend_string *enum_case_Ivm_1_0_value_str = zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
1020 ZVAL_STR(&enum_case_Ivm_1_0_value, enum_case_Ivm_1_0_value_str);
1021 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1022
1023 zval enum_case_IonSymbolTable_value;
1024 zend_string *enum_case_IonSymbolTable_value_str = zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
1025 ZVAL_STR(&enum_case_IonSymbolTable_value, enum_case_IonSymbolTable_value_str);
1026 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1027
1028 zval enum_case_Name_value;
1029 zend_string *enum_case_Name_value_str = zend_string_init("name", sizeof("name") - 1, 1);
1030 ZVAL_STR(&enum_case_Name_value, enum_case_Name_value_str);
1031 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1032
1033 zval enum_case_Version_value;
1034 zend_string *enum_case_Version_value_str = zend_string_init("version", sizeof("version") - 1, 1);
1035 ZVAL_STR(&enum_case_Version_value, enum_case_Version_value_str);
1036 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1037
1038 zval enum_case_Imports_value;
1039 zend_string *enum_case_Imports_value_str = zend_string_init("imports", sizeof("imports") - 1, 1);
1040 ZVAL_STR(&enum_case_Imports_value, enum_case_Imports_value_str);
1041 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1042
1043 zval enum_case_Symbols_value;
1044 zend_string *enum_case_Symbols_value_str = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1045 ZVAL_STR(&enum_case_Symbols_value, enum_case_Symbols_value_str);
1046 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1047
1048 zval enum_case_MaxId_value;
1049 zend_string *enum_case_MaxId_value_str = zend_string_init("max_id", sizeof("max_id") - 1, 1);
1050 ZVAL_STR(&enum_case_MaxId_value, enum_case_MaxId_value_str);
1051 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1052
1053 zval enum_case_SharedSymbolTable_value;
1054 zend_string *enum_case_SharedSymbolTable_value_str = zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1055 ZVAL_STR(&enum_case_SharedSymbolTable_value, enum_case_SharedSymbolTable_value_str);
1056 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1057
1058 return class_entry;
1059 }
1060
1061 static zend_class_entry *register_class_ion_Symbol_System_SID(void)
1062 {
1063 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System\\SID", IS_LONG, class_ion_Symbol_System_SID_methods);
1064
1065 zval enum_case_Ion_value;
1066 ZVAL_LONG(&enum_case_Ion_value, 1);
1067 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1068
1069 zval enum_case_Ivm_1_0_value;
1070 ZVAL_LONG(&enum_case_Ivm_1_0_value, 2);
1071 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1072
1073 zval enum_case_IonSymbolTable_value;
1074 ZVAL_LONG(&enum_case_IonSymbolTable_value, 3);
1075 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1076
1077 zval enum_case_Name_value;
1078 ZVAL_LONG(&enum_case_Name_value, 4);
1079 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1080
1081 zval enum_case_Version_value;
1082 ZVAL_LONG(&enum_case_Version_value, 5);
1083 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1084
1085 zval enum_case_Imports_value;
1086 ZVAL_LONG(&enum_case_Imports_value, 6);
1087 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1088
1089 zval enum_case_Symbols_value;
1090 ZVAL_LONG(&enum_case_Symbols_value, 7);
1091 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1092
1093 zval enum_case_MaxId_value;
1094 ZVAL_LONG(&enum_case_MaxId_value, 8);
1095 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1096
1097 zval enum_case_SharedSymbolTable_value;
1098 ZVAL_LONG(&enum_case_SharedSymbolTable_value, 9);
1099 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1100
1101 return class_entry;
1102 }
1103
1104 static zend_class_entry *register_class_ion_Symbol(void)
1105 {
1106 zend_class_entry ce, *class_entry;
1107
1108 INIT_NS_CLASS_ENTRY(ce, "ion", "Symbol", class_ion_Symbol_methods);
1109 class_entry = zend_register_internal_class_ex(&ce, NULL);
1110
1111 zval property_value_default_value;
1112 ZVAL_UNDEF(&property_value_default_value);
1113 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1114 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1115 zend_string_release(property_value_name);
1116
1117 zval property_sid_default_value;
1118 ZVAL_UNDEF(&property_sid_default_value);
1119 zend_string *property_sid_name = zend_string_init("sid", sizeof("sid") - 1, 1);
1120 zend_declare_typed_property(class_entry, property_sid_name, &property_sid_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1121 zend_string_release(property_sid_name);
1122
1123 zend_string *property_importLocation_class_ion_Symbol_ImportLocation = zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1124 zval property_importLocation_default_value;
1125 ZVAL_UNDEF(&property_importLocation_default_value);
1126 zend_string *property_importLocation_name = zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1127 zend_declare_typed_property(class_entry, property_importLocation_name, &property_importLocation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_importLocation_class_ion_Symbol_ImportLocation, 0, MAY_BE_NULL));
1128 zend_string_release(property_importLocation_name);
1129
1130 return class_entry;
1131 }
1132
1133 static zend_class_entry *register_class_ion_Symbol_Table(void)
1134 {
1135 zend_class_entry ce, *class_entry;
1136
1137 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods);
1138 class_entry = zend_register_internal_class_ex(&ce, NULL);
1139
1140 return class_entry;
1141 }
1142
1143 static zend_class_entry *register_class_ion_Catalog(void)
1144 {
1145 zend_class_entry ce, *class_entry;
1146
1147 INIT_NS_CLASS_ENTRY(ce, "ion", "Catalog", class_ion_Catalog_methods);
1148 class_entry = zend_register_internal_class_ex(&ce, NULL);
1149
1150 return class_entry;
1151 }
1152
1153 static zend_class_entry *register_class_ion_Collection(void)
1154 {
1155 zend_class_entry ce, *class_entry;
1156
1157 INIT_NS_CLASS_ENTRY(ce, "ion", "Collection", class_ion_Collection_methods);
1158 class_entry = zend_register_internal_class_ex(&ce, NULL);
1159
1160 return class_entry;
1161 }
1162
1163 static zend_class_entry *register_class_ion_LOB(void)
1164 {
1165 zend_class_entry ce, *class_entry;
1166
1167 INIT_NS_CLASS_ENTRY(ce, "ion", "LOB", class_ion_LOB_methods);
1168 class_entry = zend_register_internal_class_ex(&ce, NULL);
1169
1170 zval property_value_default_value;
1171 ZVAL_UNDEF(&property_value_default_value);
1172 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1173 zend_declare_typed_property(class_entry, property_value_name, &property_value_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1174 zend_string_release(property_value_name);
1175
1176 zend_string *property_type_class_ion_Type = zend_string_init("ion\\Type", sizeof("ion\\Type")-1, 1);
1177 zval property_type_default_value;
1178 ZVAL_UNDEF(&property_type_default_value);
1179 zend_string *property_type_name = zend_string_init("type", sizeof("type") - 1, 1);
1180 zend_declare_typed_property(class_entry, property_type_name, &property_type_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_type_class_ion_Type, 0, 0));
1181 zend_string_release(property_type_name);
1182
1183 return class_entry;
1184 }
1185
1186 static zend_class_entry *register_class_ion_Decimal_Context(void)
1187 {
1188 zend_class_entry ce, *class_entry;
1189
1190 INIT_NS_CLASS_ENTRY(ce, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods);
1191 class_entry = zend_register_internal_class_ex(&ce, NULL);
1192
1193 zval property_bits_default_value;
1194 ZVAL_UNDEF(&property_bits_default_value);
1195 zend_string *property_bits_name = zend_string_init("bits", sizeof("bits") - 1, 1);
1196 zend_declare_typed_property(class_entry, property_bits_name, &property_bits_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1197 zend_string_release(property_bits_name);
1198
1199 return class_entry;
1200 }
1201
1202 static zend_class_entry *register_class_ion_Decimal(void)
1203 {
1204 zend_class_entry ce, *class_entry;
1205
1206 INIT_NS_CLASS_ENTRY(ce, "ion", "Decimal", class_ion_Decimal_methods);
1207 class_entry = zend_register_internal_class_ex(&ce, NULL);
1208
1209 zval property_number_default_value;
1210 ZVAL_UNDEF(&property_number_default_value);
1211 zend_string *property_number_name = zend_string_init("number", sizeof("number") - 1, 1);
1212 zend_declare_typed_property(class_entry, property_number_name, &property_number_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_LONG));
1213 zend_string_release(property_number_name);
1214
1215 zend_string *property_context_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1216 zval property_context_default_value;
1217 ZVAL_UNDEF(&property_context_default_value);
1218 zend_string *property_context_name = zend_string_init("context", sizeof("context") - 1, 1);
1219 zend_declare_typed_property(class_entry, property_context_name, &property_context_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_context_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1220 zend_string_release(property_context_name);
1221
1222 return class_entry;
1223 }
1224
1225 static zend_class_entry *register_class_ion_Timestamp_Precision(void)
1226 {
1227 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Timestamp\\Precision", IS_LONG, class_ion_Timestamp_Precision_methods);
1228
1229 zval enum_case_Year_value;
1230 ZVAL_LONG(&enum_case_Year_value, 1);
1231 zend_enum_add_case_cstr(class_entry, "Year", &enum_case_Year_value);
1232
1233 zval enum_case_Month_value;
1234 ZVAL_LONG(&enum_case_Month_value, 3);
1235 zend_enum_add_case_cstr(class_entry, "Month", &enum_case_Month_value);
1236
1237 zval enum_case_Day_value;
1238 ZVAL_LONG(&enum_case_Day_value, 7);
1239 zend_enum_add_case_cstr(class_entry, "Day", &enum_case_Day_value);
1240
1241 zval enum_case_Min_value;
1242 ZVAL_LONG(&enum_case_Min_value, 23);
1243 zend_enum_add_case_cstr(class_entry, "Min", &enum_case_Min_value);
1244
1245 zval enum_case_Sec_value;
1246 ZVAL_LONG(&enum_case_Sec_value, 55);
1247 zend_enum_add_case_cstr(class_entry, "Sec", &enum_case_Sec_value);
1248
1249 zval enum_case_Frac_value;
1250 ZVAL_LONG(&enum_case_Frac_value, 119);
1251 zend_enum_add_case_cstr(class_entry, "Frac", &enum_case_Frac_value);
1252
1253 return class_entry;
1254 }
1255
1256 static zend_class_entry *register_class_ion_Timestamp(zend_class_entry *class_entry_DateTime)
1257 {
1258 zend_class_entry ce, *class_entry;
1259
1260 INIT_NS_CLASS_ENTRY(ce, "ion", "Timestamp", class_ion_Timestamp_methods);
1261 class_entry = zend_register_internal_class_ex(&ce, class_entry_DateTime);
1262
1263 zval property_precision_default_value;
1264 ZVAL_UNDEF(&property_precision_default_value);
1265 zend_string *property_precision_name = zend_string_init("precision", sizeof("precision") - 1, 1);
1266 zend_declare_typed_property(class_entry, property_precision_name, &property_precision_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1267 zend_string_release(property_precision_name);
1268
1269 zval property_format_default_value;
1270 ZVAL_UNDEF(&property_format_default_value);
1271 zend_string *property_format_name = zend_string_init("format", sizeof("format") - 1, 1);
1272 zend_declare_typed_property(class_entry, property_format_name, &property_format_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
1273 zend_string_release(property_format_name);
1274
1275 return class_entry;
1276 }
1277
1278 static zend_class_entry *register_class_ion_Reader(zend_class_entry *class_entry_RecursiveIterator)
1279 {
1280 zend_class_entry ce, *class_entry;
1281
1282 INIT_NS_CLASS_ENTRY(ce, "ion", "Reader", class_ion_Reader_methods);
1283 class_entry = zend_register_internal_interface(&ce);
1284 zend_class_implements(class_entry, 1, class_entry_RecursiveIterator);
1285
1286 return class_entry;
1287 }
1288
1289 static zend_class_entry *register_class_ion_Reader_Options(void)
1290 {
1291 zend_class_entry ce, *class_entry;
1292
1293 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Options", class_ion_Reader_Options_methods);
1294 class_entry = zend_register_internal_class_ex(&ce, NULL);
1295
1296 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1297 zval property_catalog_default_value;
1298 ZVAL_UNDEF(&property_catalog_default_value);
1299 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1300 zend_declare_typed_property(class_entry, property_catalog_name, &property_catalog_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_catalog_class_ion_Catalog, 0, MAY_BE_NULL));
1301 zend_string_release(property_catalog_name);
1302
1303 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1304 zval property_decimalContext_default_value;
1305 ZVAL_UNDEF(&property_decimalContext_default_value);
1306 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1307 zend_declare_typed_property(class_entry, property_decimalContext_name, &property_decimalContext_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_decimalContext_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1308 zend_string_release(property_decimalContext_name);
1309
1310 zend_string *property_onContextChange_class_Closure = zend_string_init("Closure", sizeof("Closure")-1, 1);
1311 zval property_onContextChange_default_value;
1312 ZVAL_UNDEF(&property_onContextChange_default_value);
1313 zend_string *property_onContextChange_name = zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1314 zend_declare_typed_property(class_entry, property_onContextChange_name, &property_onContextChange_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_onContextChange_class_Closure, 0, MAY_BE_NULL));
1315 zend_string_release(property_onContextChange_name);
1316
1317 zval property_returnSystemValues_default_value;
1318 ZVAL_UNDEF(&property_returnSystemValues_default_value);
1319 zend_string *property_returnSystemValues_name = zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1320 zend_declare_typed_property(class_entry, property_returnSystemValues_name, &property_returnSystemValues_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1321 zend_string_release(property_returnSystemValues_name);
1322
1323 zval property_newLine_default_value;
1324 ZVAL_UNDEF(&property_newLine_default_value);
1325 zend_string *property_newLine_name = zend_string_init("newLine", sizeof("newLine") - 1, 1);
1326 zend_declare_typed_property(class_entry, property_newLine_name, &property_newLine_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1327 zend_string_release(property_newLine_name);
1328
1329 zval property_maxContainerDepth_default_value;
1330 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1331 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1332 zend_declare_typed_property(class_entry, property_maxContainerDepth_name, &property_maxContainerDepth_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1333 zend_string_release(property_maxContainerDepth_name);
1334
1335 zval property_maxAnnotations_default_value;
1336 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1337 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1338 zend_declare_typed_property(class_entry, property_maxAnnotations_name, &property_maxAnnotations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1339 zend_string_release(property_maxAnnotations_name);
1340
1341 zval property_maxAnnotationBuffered_default_value;
1342 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value);
1343 zend_string *property_maxAnnotationBuffered_name = zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1344 zend_declare_typed_property(class_entry, property_maxAnnotationBuffered_name, &property_maxAnnotationBuffered_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1345 zend_string_release(property_maxAnnotationBuffered_name);
1346
1347 zval property_symbolThreshold_default_value;
1348 ZVAL_UNDEF(&property_symbolThreshold_default_value);
1349 zend_string *property_symbolThreshold_name = zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1350 zend_declare_typed_property(class_entry, property_symbolThreshold_name, &property_symbolThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1351 zend_string_release(property_symbolThreshold_name);
1352
1353 zval property_userValueThreshold_default_value;
1354 ZVAL_UNDEF(&property_userValueThreshold_default_value);
1355 zend_string *property_userValueThreshold_name = zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1356 zend_declare_typed_property(class_entry, property_userValueThreshold_name, &property_userValueThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1357 zend_string_release(property_userValueThreshold_name);
1358
1359 zval property_chunkThreshold_default_value;
1360 ZVAL_UNDEF(&property_chunkThreshold_default_value);
1361 zend_string *property_chunkThreshold_name = zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1362 zend_declare_typed_property(class_entry, property_chunkThreshold_name, &property_chunkThreshold_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1363 zend_string_release(property_chunkThreshold_name);
1364
1365 zval property_allocationPageSize_default_value;
1366 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1367 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1368 zend_declare_typed_property(class_entry, property_allocationPageSize_name, &property_allocationPageSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1369 zend_string_release(property_allocationPageSize_name);
1370
1371 zval property_skipCharacterValidation_default_value;
1372 ZVAL_UNDEF(&property_skipCharacterValidation_default_value);
1373 zend_string *property_skipCharacterValidation_name = zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1374 zend_declare_typed_property(class_entry, property_skipCharacterValidation_name, &property_skipCharacterValidation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1375 zend_string_release(property_skipCharacterValidation_name);
1376
1377 return class_entry;
1378 }
1379
1380 static zend_class_entry *register_class_ion_Reader_Reader(zend_class_entry *class_entry_ion_Reader)
1381 {
1382 zend_class_entry ce, *class_entry;
1383
1384 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods);
1385 class_entry = zend_register_internal_class_ex(&ce, NULL);
1386 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1387 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1388
1389 zend_string *property_options_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1390 zval property_options_default_value;
1391 ZVAL_UNDEF(&property_options_default_value);
1392 zend_string *property_options_name = zend_string_init("options", sizeof("options") - 1, 1);
1393 zend_declare_typed_property(class_entry, property_options_name, &property_options_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_options_class_ion_Reader_Options, 0, MAY_BE_NULL));
1394 zend_string_release(property_options_name);
1395
1396 return class_entry;
1397 }
1398
1399 static zend_class_entry *register_class_ion_Reader_Buffer(zend_class_entry *class_entry_ion_Reader)
1400 {
1401 zend_class_entry ce, *class_entry;
1402
1403 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods);
1404 class_entry = zend_register_internal_interface(&ce);
1405 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1406
1407 return class_entry;
1408 }
1409
1410 static zend_class_entry *register_class_ion_Reader_Buffer_Reader(zend_class_entry *class_entry_ion_Reader_Reader, zend_class_entry *class_entry_ion_Reader_Buffer)
1411 {
1412 zend_class_entry ce, *class_entry;
1413
1414 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods);
1415 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1416 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Buffer);
1417
1418 return class_entry;
1419 }
1420
1421 static zend_class_entry *register_class_ion_Reader_Stream(zend_class_entry *class_entry_ion_Reader)
1422 {
1423 zend_class_entry ce, *class_entry;
1424
1425 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods);
1426 class_entry = zend_register_internal_interface(&ce);
1427 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1428
1429 return class_entry;
1430 }
1431
1432 static zend_class_entry *register_class_ion_Reader_Stream_Reader(zend_class_entry *class_entry_ion_Reader_Reader, zend_class_entry *class_entry_ion_Reader_Stream)
1433 {
1434 zend_class_entry ce, *class_entry;
1435
1436 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods);
1437 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1438 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Stream);
1439
1440 return class_entry;
1441 }
1442
1443 static zend_class_entry *register_class_ion_Writer_Options(void)
1444 {
1445 zend_class_entry ce, *class_entry;
1446
1447 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Options", class_ion_Writer_Options_methods);
1448 class_entry = zend_register_internal_class_ex(&ce, NULL);
1449
1450 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1451 zval property_catalog_default_value;
1452 ZVAL_UNDEF(&property_catalog_default_value);
1453 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1454 zend_declare_typed_property(class_entry, property_catalog_name, &property_catalog_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_catalog_class_ion_Catalog, 0, MAY_BE_NULL));
1455 zend_string_release(property_catalog_name);
1456
1457 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1458 zval property_decimalContext_default_value;
1459 ZVAL_UNDEF(&property_decimalContext_default_value);
1460 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1461 zend_declare_typed_property(class_entry, property_decimalContext_name, &property_decimalContext_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_decimalContext_class_ion_Decimal_Context, 0, MAY_BE_NULL));
1462 zend_string_release(property_decimalContext_name);
1463
1464 zval property_outputBinary_default_value;
1465 ZVAL_UNDEF(&property_outputBinary_default_value);
1466 zend_string *property_outputBinary_name = zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1467 zend_declare_typed_property(class_entry, property_outputBinary_name, &property_outputBinary_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1468 zend_string_release(property_outputBinary_name);
1469
1470 zval property_compactFloats_default_value;
1471 ZVAL_UNDEF(&property_compactFloats_default_value);
1472 zend_string *property_compactFloats_name = zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1473 zend_declare_typed_property(class_entry, property_compactFloats_name, &property_compactFloats_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1474 zend_string_release(property_compactFloats_name);
1475
1476 zval property_escapeNonAscii_default_value;
1477 ZVAL_UNDEF(&property_escapeNonAscii_default_value);
1478 zend_string *property_escapeNonAscii_name = zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1479 zend_declare_typed_property(class_entry, property_escapeNonAscii_name, &property_escapeNonAscii_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1480 zend_string_release(property_escapeNonAscii_name);
1481
1482 zval property_prettyPrint_default_value;
1483 ZVAL_UNDEF(&property_prettyPrint_default_value);
1484 zend_string *property_prettyPrint_name = zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1485 zend_declare_typed_property(class_entry, property_prettyPrint_name, &property_prettyPrint_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1486 zend_string_release(property_prettyPrint_name);
1487
1488 zval property_indentTabs_default_value;
1489 ZVAL_UNDEF(&property_indentTabs_default_value);
1490 zend_string *property_indentTabs_name = zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1491 zend_declare_typed_property(class_entry, property_indentTabs_name, &property_indentTabs_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1492 zend_string_release(property_indentTabs_name);
1493
1494 zval property_indentSize_default_value;
1495 ZVAL_UNDEF(&property_indentSize_default_value);
1496 zend_string *property_indentSize_name = zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1497 zend_declare_typed_property(class_entry, property_indentSize_name, &property_indentSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1498 zend_string_release(property_indentSize_name);
1499
1500 zval property_smallContainersInline_default_value;
1501 ZVAL_UNDEF(&property_smallContainersInline_default_value);
1502 zend_string *property_smallContainersInline_name = zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1503 zend_declare_typed_property(class_entry, property_smallContainersInline_name, &property_smallContainersInline_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1504 zend_string_release(property_smallContainersInline_name);
1505
1506 zval property_suppressSystemValues_default_value;
1507 ZVAL_UNDEF(&property_suppressSystemValues_default_value);
1508 zend_string *property_suppressSystemValues_name = zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1509 zend_declare_typed_property(class_entry, property_suppressSystemValues_name, &property_suppressSystemValues_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1510 zend_string_release(property_suppressSystemValues_name);
1511
1512 zval property_flushEveryValue_default_value;
1513 ZVAL_UNDEF(&property_flushEveryValue_default_value);
1514 zend_string *property_flushEveryValue_name = zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1515 zend_declare_typed_property(class_entry, property_flushEveryValue_name, &property_flushEveryValue_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1516 zend_string_release(property_flushEveryValue_name);
1517
1518 zval property_maxContainerDepth_default_value;
1519 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1520 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1521 zend_declare_typed_property(class_entry, property_maxContainerDepth_name, &property_maxContainerDepth_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1522 zend_string_release(property_maxContainerDepth_name);
1523
1524 zval property_maxAnnotations_default_value;
1525 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1526 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1527 zend_declare_typed_property(class_entry, property_maxAnnotations_name, &property_maxAnnotations_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1528 zend_string_release(property_maxAnnotations_name);
1529
1530 zval property_tempBufferSize_default_value;
1531 ZVAL_UNDEF(&property_tempBufferSize_default_value);
1532 zend_string *property_tempBufferSize_name = zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1533 zend_declare_typed_property(class_entry, property_tempBufferSize_name, &property_tempBufferSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1534 zend_string_release(property_tempBufferSize_name);
1535
1536 zval property_allocationPageSize_default_value;
1537 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1538 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1539 zend_declare_typed_property(class_entry, property_allocationPageSize_name, &property_allocationPageSize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
1540 zend_string_release(property_allocationPageSize_name);
1541
1542 return class_entry;
1543 }
1544
1545 static zend_class_entry *register_class_ion_Writer(void)
1546 {
1547 zend_class_entry ce, *class_entry;
1548
1549 INIT_NS_CLASS_ENTRY(ce, "ion", "Writer", class_ion_Writer_methods);
1550 class_entry = zend_register_internal_interface(&ce);
1551
1552 return class_entry;
1553 }
1554
1555 static zend_class_entry *register_class_ion_Writer_Writer(zend_class_entry *class_entry_ion_Writer)
1556 {
1557 zend_class_entry ce, *class_entry;
1558
1559 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods);
1560 class_entry = zend_register_internal_class_ex(&ce, NULL);
1561 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1562 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1563
1564 return class_entry;
1565 }
1566
1567 static zend_class_entry *register_class_ion_Writer_Buffer(zend_class_entry *class_entry_ion_Writer)
1568 {
1569 zend_class_entry ce, *class_entry;
1570
1571 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods);
1572 class_entry = zend_register_internal_interface(&ce);
1573 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1574
1575 return class_entry;
1576 }
1577
1578 static zend_class_entry *register_class_ion_Writer_Buffer_Writer(zend_class_entry *class_entry_ion_Writer_Writer, zend_class_entry *class_entry_ion_Writer_Buffer)
1579 {
1580 zend_class_entry ce, *class_entry;
1581
1582 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods);
1583 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1584 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Buffer);
1585
1586 return class_entry;
1587 }
1588
1589 static zend_class_entry *register_class_ion_Writer_Stream(zend_class_entry *class_entry_ion_Writer)
1590 {
1591 zend_class_entry ce, *class_entry;
1592
1593 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods);
1594 class_entry = zend_register_internal_interface(&ce);
1595 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1596
1597 return class_entry;
1598 }
1599
1600 static zend_class_entry *register_class_ion_Writer_Stream_Writer(zend_class_entry *class_entry_ion_Writer_Writer, zend_class_entry *class_entry_ion_Writer_Stream)
1601 {
1602 zend_class_entry ce, *class_entry;
1603
1604 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods);
1605 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1606 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Stream);
1607
1608 return class_entry;
1609 }
1610
1611 static zend_class_entry *register_class_ion_Serializer(void)
1612 {
1613 zend_class_entry ce, *class_entry;
1614
1615 INIT_NS_CLASS_ENTRY(ce, "ion", "Serializer", class_ion_Serializer_methods);
1616 class_entry = zend_register_internal_interface(&ce);
1617
1618 return class_entry;
1619 }
1620
1621 static zend_class_entry *register_class_ion_Unserializer(void)
1622 {
1623 zend_class_entry ce, *class_entry;
1624
1625 INIT_NS_CLASS_ENTRY(ce, "ion", "Unserializer", class_ion_Unserializer_methods);
1626 class_entry = zend_register_internal_interface(&ce);
1627
1628 return class_entry;
1629 }
1630
1631 static zend_class_entry *register_class_ion_Serializer_PHP(zend_class_entry *class_entry_ion_Serializer)
1632 {
1633 zend_class_entry ce, *class_entry;
1634
1635 INIT_NS_CLASS_ENTRY(ce, "ion\\Serializer", "PHP", class_ion_Serializer_PHP_methods);
1636 class_entry = zend_register_internal_class_ex(&ce, NULL);
1637 zend_class_implements(class_entry, 1, class_entry_ion_Serializer);
1638
1639 zend_string *property_writerOptions_class_ion_Writer_Options = zend_string_init("ion\\Writer\\Options", sizeof("ion\\Writer\\Options")-1, 1);
1640 zval property_writerOptions_default_value;
1641 ZVAL_UNDEF(&property_writerOptions_default_value);
1642 zend_string *property_writerOptions_name = zend_string_init("writerOptions", sizeof("writerOptions") - 1, 1);
1643 zend_declare_typed_property(class_entry, property_writerOptions_name, &property_writerOptions_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_writerOptions_class_ion_Writer_Options, 0, MAY_BE_NULL));
1644 zend_string_release(property_writerOptions_name);
1645
1646 zval property_callMagicSerialize_default_value;
1647 ZVAL_UNDEF(&property_callMagicSerialize_default_value);
1648 zend_string *property_callMagicSerialize_name = zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1649 zend_declare_typed_property(class_entry, property_callMagicSerialize_name, &property_callMagicSerialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1650 zend_string_release(property_callMagicSerialize_name);
1651
1652 zval property_callCustomSerialize_default_value;
1653 ZVAL_UNDEF(&property_callCustomSerialize_default_value);
1654 zend_string *property_callCustomSerialize_name = zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1655 zend_declare_typed_property(class_entry, property_callCustomSerialize_name, &property_callCustomSerialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1656 zend_string_release(property_callCustomSerialize_name);
1657
1658 return class_entry;
1659 }
1660
1661 static zend_class_entry *register_class_ion_Unserializer_PHP(zend_class_entry *class_entry_ion_Unserializer)
1662 {
1663 zend_class_entry ce, *class_entry;
1664
1665 INIT_NS_CLASS_ENTRY(ce, "ion\\Unserializer", "PHP", class_ion_Unserializer_PHP_methods);
1666 class_entry = zend_register_internal_class_ex(&ce, NULL);
1667 zend_class_implements(class_entry, 1, class_entry_ion_Unserializer);
1668
1669 zend_string *property_readerOptions_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1670 zval property_readerOptions_default_value;
1671 ZVAL_UNDEF(&property_readerOptions_default_value);
1672 zend_string *property_readerOptions_name = zend_string_init("readerOptions", sizeof("readerOptions") - 1, 1);
1673 zend_declare_typed_property(class_entry, property_readerOptions_name, &property_readerOptions_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_readerOptions_class_ion_Reader_Options, 0, MAY_BE_NULL));
1674 zend_string_release(property_readerOptions_name);
1675
1676 zval property_callMagicUnserialize_default_value;
1677 ZVAL_UNDEF(&property_callMagicUnserialize_default_value);
1678 zend_string *property_callMagicUnserialize_name = zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1679 zend_declare_typed_property(class_entry, property_callMagicUnserialize_name, &property_callMagicUnserialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1680 zend_string_release(property_callMagicUnserialize_name);
1681
1682 zval property_callCustomUnserialize_default_value;
1683 ZVAL_UNDEF(&property_callCustomUnserialize_default_value);
1684 zend_string *property_callCustomUnserialize_name = zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1685 zend_declare_typed_property(class_entry, property_callCustomUnserialize_name, &property_callCustomUnserialize_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
1686 zend_string_release(property_callCustomUnserialize_name);
1687
1688 return class_entry;
1689 }