support multi sequence un/serialization
[awesomized/ext-ion] / ion_arginfo.h
1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 4c467ccb7b924c30cc5471b9212f4bffe0b0ba31 */
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_INFO(0, data)
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, multiSequence, _IS_BOOL, 0, "false")
432 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicSerialize, _IS_BOOL, 0, "true")
433 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomSerialize, IS_STRING, 1, "null")
434 ZEND_END_ARG_INFO()
435
436 #define arginfo_class_ion_Serializer_PHP___invoke arginfo_class_ion_Serializer___invoke
437
438 #define arginfo_class_ion_Serializer_PHP_serialize arginfo_class_ion_Serializer___invoke
439
440 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ion_Unserializer_PHP___construct, 0, 0, 0)
441 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, readerOptions, ion\\Reader\\Options, 1, "null")
442 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, multiSequence, _IS_BOOL, 0, "true")
443 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callMagicUnserialize, _IS_BOOL, 0, "true")
444 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callCustomUnserialize, IS_STRING, 1, "null")
445 ZEND_END_ARG_INFO()
446
447 #define arginfo_class_ion_Unserializer_PHP___invoke arginfo_class_ion_Unserializer___invoke
448
449 #define arginfo_class_ion_Unserializer_PHP_unserialize arginfo_class_ion_Unserializer___invoke
450
451
452 ZEND_FUNCTION(ion_serialize);
453 ZEND_FUNCTION(ion_unserialize);
454 ZEND_METHOD(ion_Symbol_ImportLocation, __construct);
455 ZEND_METHOD(ion_Symbol, __construct);
456 ZEND_METHOD(ion_Symbol, equals);
457 ZEND_METHOD(ion_Symbol, __toString);
458 ZEND_METHOD(ion_LOB, __construct);
459 ZEND_METHOD(ion_Decimal_Context, __construct);
460 ZEND_METHOD(ion_Decimal, __construct);
461 ZEND_METHOD(ion_Decimal, equals);
462 ZEND_METHOD(ion_Decimal, isInt);
463 ZEND_METHOD(ion_Decimal, __toString);
464 ZEND_METHOD(ion_Decimal, toInt);
465 ZEND_METHOD(ion_Timestamp, __construct);
466 ZEND_METHOD(ion_Timestamp, __toString);
467 ZEND_METHOD(ion_Reader_Options, __construct);
468 ZEND_METHOD(ion_Reader_Reader, hasChildren);
469 ZEND_METHOD(ion_Reader_Reader, getChildren);
470 ZEND_METHOD(ion_Reader_Reader, rewind);
471 ZEND_METHOD(ion_Reader_Reader, next);
472 ZEND_METHOD(ion_Reader_Reader, valid);
473 ZEND_METHOD(ion_Reader_Reader, key);
474 ZEND_METHOD(ion_Reader_Reader, current);
475 ZEND_METHOD(ion_Reader_Reader, getType);
476 ZEND_METHOD(ion_Reader_Reader, hasAnnotations);
477 ZEND_METHOD(ion_Reader_Reader, hasAnnotation);
478 ZEND_METHOD(ion_Reader_Reader, isNull);
479 ZEND_METHOD(ion_Reader_Reader, isInStruct);
480 ZEND_METHOD(ion_Reader_Reader, getFieldName);
481 ZEND_METHOD(ion_Reader_Reader, getFieldNameSymbol);
482 ZEND_METHOD(ion_Reader_Reader, getAnnotations);
483 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbols);
484 ZEND_METHOD(ion_Reader_Reader, countAnnotations);
485 ZEND_METHOD(ion_Reader_Reader, getAnnotation);
486 ZEND_METHOD(ion_Reader_Reader, getAnnotationSymbol);
487 ZEND_METHOD(ion_Reader_Reader, readNull);
488 ZEND_METHOD(ion_Reader_Reader, readBool);
489 ZEND_METHOD(ion_Reader_Reader, readInt);
490 ZEND_METHOD(ion_Reader_Reader, readFloat);
491 ZEND_METHOD(ion_Reader_Reader, readDecimal);
492 ZEND_METHOD(ion_Reader_Reader, readTimestamp);
493 ZEND_METHOD(ion_Reader_Reader, readSymbol);
494 ZEND_METHOD(ion_Reader_Reader, readString);
495 ZEND_METHOD(ion_Reader_Reader, readStringPart);
496 ZEND_METHOD(ion_Reader_Reader, readLob);
497 ZEND_METHOD(ion_Reader_Reader, readLobPart);
498 ZEND_METHOD(ion_Reader_Reader, getPosition);
499 ZEND_METHOD(ion_Reader_Reader, getDepth);
500 ZEND_METHOD(ion_Reader_Reader, seek);
501 ZEND_METHOD(ion_Reader_Reader, getValueOffset);
502 ZEND_METHOD(ion_Reader_Reader, getValueLength);
503 ZEND_METHOD(ion_Reader_Buffer_Reader, __construct);
504 ZEND_METHOD(ion_Reader_Buffer_Reader, getBuffer);
505 ZEND_METHOD(ion_Reader_Stream_Reader, __construct);
506 ZEND_METHOD(ion_Reader_Stream_Reader, getStream);
507 ZEND_METHOD(ion_Reader_Stream_Reader, resetStream);
508 ZEND_METHOD(ion_Reader_Stream_Reader, resetStreamWithLength);
509 ZEND_METHOD(ion_Writer_Options, __construct);
510 ZEND_METHOD(ion_Writer_Writer, writeNull);
511 ZEND_METHOD(ion_Writer_Writer, writeTypedNull);
512 ZEND_METHOD(ion_Writer_Writer, writeBool);
513 ZEND_METHOD(ion_Writer_Writer, writeInt);
514 ZEND_METHOD(ion_Writer_Writer, writeFloat);
515 ZEND_METHOD(ion_Writer_Writer, writeDecimal);
516 ZEND_METHOD(ion_Writer_Writer, writeTimestamp);
517 ZEND_METHOD(ion_Writer_Writer, writeSymbol);
518 ZEND_METHOD(ion_Writer_Writer, writeString);
519 ZEND_METHOD(ion_Writer_Writer, writeCLob);
520 ZEND_METHOD(ion_Writer_Writer, writeBLob);
521 ZEND_METHOD(ion_Writer_Writer, startLob);
522 ZEND_METHOD(ion_Writer_Writer, appendLob);
523 ZEND_METHOD(ion_Writer_Writer, finishLob);
524 ZEND_METHOD(ion_Writer_Writer, startContainer);
525 ZEND_METHOD(ion_Writer_Writer, finishContainer);
526 ZEND_METHOD(ion_Writer_Writer, writeFieldName);
527 ZEND_METHOD(ion_Writer_Writer, writeAnnotation);
528 ZEND_METHOD(ion_Writer_Writer, getDepth);
529 ZEND_METHOD(ion_Writer_Writer, flush);
530 ZEND_METHOD(ion_Writer_Writer, finish);
531 ZEND_METHOD(ion_Writer_Writer, writeOne);
532 ZEND_METHOD(ion_Writer_Writer, writeAll);
533 ZEND_METHOD(ion_Writer_Buffer_Writer, __construct);
534 ZEND_METHOD(ion_Writer_Buffer_Writer, getBuffer);
535 ZEND_METHOD(ion_Writer_Stream_Writer, __construct);
536 ZEND_METHOD(ion_Writer_Stream_Writer, getStream);
537 ZEND_METHOD(ion_Serializer_PHP, __construct);
538 ZEND_METHOD(ion_Serializer_PHP, __invoke);
539 ZEND_METHOD(ion_Serializer_PHP, serialize);
540 ZEND_METHOD(ion_Unserializer_PHP, __construct);
541 ZEND_METHOD(ion_Unserializer_PHP, __invoke);
542 ZEND_METHOD(ion_Unserializer_PHP, unserialize);
543
544
545 static const zend_function_entry ext_functions[] = {
546 ZEND_NS_RAW_FENTRY("ion", "serialize", ZEND_FN(ion_serialize), arginfo_ion_serialize, 0)
547 ZEND_NS_RAW_FENTRY("ion", "unserialize", ZEND_FN(ion_unserialize), arginfo_ion_unserialize, 0)
548 ZEND_FE_END
549 };
550
551
552 static const zend_function_entry class_ion_Type_methods[] = {
553 ZEND_FE_END
554 };
555
556
557 static const zend_function_entry class_ion_Annotation_methods[] = {
558 ZEND_FE_END
559 };
560
561
562 static const zend_function_entry class_ion_Symbol_ImportLocation_methods[] = {
563 ZEND_ME(ion_Symbol_ImportLocation, __construct, arginfo_class_ion_Symbol_ImportLocation___construct, ZEND_ACC_PUBLIC)
564 ZEND_FE_END
565 };
566
567
568 static const zend_function_entry class_ion_Symbol_System_methods[] = {
569 ZEND_FE_END
570 };
571
572
573 static const zend_function_entry class_ion_Symbol_System_SID_methods[] = {
574 ZEND_FE_END
575 };
576
577
578 static const zend_function_entry class_ion_Symbol_methods[] = {
579 ZEND_ME(ion_Symbol, __construct, arginfo_class_ion_Symbol___construct, ZEND_ACC_PUBLIC)
580 ZEND_ME(ion_Symbol, equals, arginfo_class_ion_Symbol_equals, ZEND_ACC_PUBLIC)
581 ZEND_ME(ion_Symbol, __toString, arginfo_class_ion_Symbol___toString, ZEND_ACC_PUBLIC)
582 ZEND_MALIAS(ion_Symbol, toString, __toString, arginfo_class_ion_Symbol_toString, ZEND_ACC_PUBLIC)
583 ZEND_FE_END
584 };
585
586
587 static const zend_function_entry class_ion_Symbol_Table_methods[] = {
588 ZEND_FE_END
589 };
590
591
592 static const zend_function_entry class_ion_Catalog_methods[] = {
593 ZEND_FE_END
594 };
595
596
597 static const zend_function_entry class_ion_Collection_methods[] = {
598 ZEND_FE_END
599 };
600
601
602 static const zend_function_entry class_ion_LOB_methods[] = {
603 ZEND_ME(ion_LOB, __construct, arginfo_class_ion_LOB___construct, ZEND_ACC_PUBLIC)
604 ZEND_FE_END
605 };
606
607
608 static const zend_function_entry class_ion_Decimal_Context_methods[] = {
609 ZEND_ME(ion_Decimal_Context, __construct, arginfo_class_ion_Decimal_Context___construct, ZEND_ACC_PUBLIC)
610 ZEND_FE_END
611 };
612
613
614 static const zend_function_entry class_ion_Decimal_methods[] = {
615 ZEND_ME(ion_Decimal, __construct, arginfo_class_ion_Decimal___construct, ZEND_ACC_PUBLIC)
616 ZEND_ME(ion_Decimal, equals, arginfo_class_ion_Decimal_equals, ZEND_ACC_PUBLIC)
617 ZEND_ME(ion_Decimal, isInt, arginfo_class_ion_Decimal_isInt, ZEND_ACC_PUBLIC)
618 ZEND_ME(ion_Decimal, __toString, arginfo_class_ion_Decimal___toString, ZEND_ACC_PUBLIC)
619 ZEND_MALIAS(ion_Decimal, toString, __toString, arginfo_class_ion_Decimal_toString, ZEND_ACC_PUBLIC)
620 ZEND_ME(ion_Decimal, toInt, arginfo_class_ion_Decimal_toInt, ZEND_ACC_PUBLIC)
621 ZEND_FE_END
622 };
623
624
625 static const zend_function_entry class_ion_Timestamp_Precision_methods[] = {
626 ZEND_FE_END
627 };
628
629
630 static const zend_function_entry class_ion_Timestamp_methods[] = {
631 ZEND_ME(ion_Timestamp, __construct, arginfo_class_ion_Timestamp___construct, ZEND_ACC_PUBLIC)
632 ZEND_ME(ion_Timestamp, __toString, arginfo_class_ion_Timestamp___toString, ZEND_ACC_PUBLIC)
633 ZEND_FE_END
634 };
635
636
637 static const zend_function_entry class_ion_Reader_methods[] = {
638 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getType, arginfo_class_ion_Reader_getType, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
639 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotations, arginfo_class_ion_Reader_hasAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
640 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, hasAnnotation, arginfo_class_ion_Reader_hasAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
641 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isNull, arginfo_class_ion_Reader_isNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
642 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, isInStruct, arginfo_class_ion_Reader_isInStruct, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
643 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldName, arginfo_class_ion_Reader_getFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
644 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
645 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotations, arginfo_class_ion_Reader_getAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
646 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
647 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, countAnnotations, arginfo_class_ion_Reader_countAnnotations, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
648 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotation, arginfo_class_ion_Reader_getAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
649 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
650 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readNull, arginfo_class_ion_Reader_readNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
651 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readBool, arginfo_class_ion_Reader_readBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
652 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readInt, arginfo_class_ion_Reader_readInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
653 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readFloat, arginfo_class_ion_Reader_readFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
654 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readDecimal, arginfo_class_ion_Reader_readDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
655 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readTimestamp, arginfo_class_ion_Reader_readTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
656 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readSymbol, arginfo_class_ion_Reader_readSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
657 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readString, arginfo_class_ion_Reader_readString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
658 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readStringPart, arginfo_class_ion_Reader_readStringPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
659 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLob, arginfo_class_ion_Reader_readLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
660 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, readLobPart, arginfo_class_ion_Reader_readLobPart, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
661 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getPosition, arginfo_class_ion_Reader_getPosition, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
662 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getDepth, arginfo_class_ion_Reader_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
663 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, seek, arginfo_class_ion_Reader_seek, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
664 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueOffset, arginfo_class_ion_Reader_getValueOffset, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
665 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader, getValueLength, arginfo_class_ion_Reader_getValueLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
666 ZEND_FE_END
667 };
668
669
670 static const zend_function_entry class_ion_Reader_Options_methods[] = {
671 ZEND_ME(ion_Reader_Options, __construct, arginfo_class_ion_Reader_Options___construct, ZEND_ACC_PUBLIC)
672 ZEND_FE_END
673 };
674
675
676 static const zend_function_entry class_ion_Reader_Reader_methods[] = {
677 ZEND_ME(ion_Reader_Reader, hasChildren, arginfo_class_ion_Reader_Reader_hasChildren, ZEND_ACC_PUBLIC)
678 ZEND_ME(ion_Reader_Reader, getChildren, arginfo_class_ion_Reader_Reader_getChildren, ZEND_ACC_PUBLIC)
679 ZEND_ME(ion_Reader_Reader, rewind, arginfo_class_ion_Reader_Reader_rewind, ZEND_ACC_PUBLIC)
680 ZEND_ME(ion_Reader_Reader, next, arginfo_class_ion_Reader_Reader_next, ZEND_ACC_PUBLIC)
681 ZEND_ME(ion_Reader_Reader, valid, arginfo_class_ion_Reader_Reader_valid, ZEND_ACC_PUBLIC)
682 ZEND_ME(ion_Reader_Reader, key, arginfo_class_ion_Reader_Reader_key, ZEND_ACC_PUBLIC)
683 ZEND_ME(ion_Reader_Reader, current, arginfo_class_ion_Reader_Reader_current, ZEND_ACC_PUBLIC)
684 ZEND_ME(ion_Reader_Reader, getType, arginfo_class_ion_Reader_Reader_getType, ZEND_ACC_PUBLIC)
685 ZEND_ME(ion_Reader_Reader, hasAnnotations, arginfo_class_ion_Reader_Reader_hasAnnotations, ZEND_ACC_PUBLIC)
686 ZEND_ME(ion_Reader_Reader, hasAnnotation, arginfo_class_ion_Reader_Reader_hasAnnotation, ZEND_ACC_PUBLIC)
687 ZEND_ME(ion_Reader_Reader, isNull, arginfo_class_ion_Reader_Reader_isNull, ZEND_ACC_PUBLIC)
688 ZEND_ME(ion_Reader_Reader, isInStruct, arginfo_class_ion_Reader_Reader_isInStruct, ZEND_ACC_PUBLIC)
689 ZEND_ME(ion_Reader_Reader, getFieldName, arginfo_class_ion_Reader_Reader_getFieldName, ZEND_ACC_PUBLIC)
690 ZEND_ME(ion_Reader_Reader, getFieldNameSymbol, arginfo_class_ion_Reader_Reader_getFieldNameSymbol, ZEND_ACC_PUBLIC)
691 ZEND_ME(ion_Reader_Reader, getAnnotations, arginfo_class_ion_Reader_Reader_getAnnotations, ZEND_ACC_PUBLIC)
692 ZEND_ME(ion_Reader_Reader, getAnnotationSymbols, arginfo_class_ion_Reader_Reader_getAnnotationSymbols, ZEND_ACC_PUBLIC)
693 ZEND_ME(ion_Reader_Reader, countAnnotations, arginfo_class_ion_Reader_Reader_countAnnotations, ZEND_ACC_PUBLIC)
694 ZEND_ME(ion_Reader_Reader, getAnnotation, arginfo_class_ion_Reader_Reader_getAnnotation, ZEND_ACC_PUBLIC)
695 ZEND_ME(ion_Reader_Reader, getAnnotationSymbol, arginfo_class_ion_Reader_Reader_getAnnotationSymbol, ZEND_ACC_PUBLIC)
696 ZEND_ME(ion_Reader_Reader, readNull, arginfo_class_ion_Reader_Reader_readNull, ZEND_ACC_PUBLIC)
697 ZEND_ME(ion_Reader_Reader, readBool, arginfo_class_ion_Reader_Reader_readBool, ZEND_ACC_PUBLIC)
698 ZEND_ME(ion_Reader_Reader, readInt, arginfo_class_ion_Reader_Reader_readInt, ZEND_ACC_PUBLIC)
699 ZEND_ME(ion_Reader_Reader, readFloat, arginfo_class_ion_Reader_Reader_readFloat, ZEND_ACC_PUBLIC)
700 ZEND_ME(ion_Reader_Reader, readDecimal, arginfo_class_ion_Reader_Reader_readDecimal, ZEND_ACC_PUBLIC)
701 ZEND_ME(ion_Reader_Reader, readTimestamp, arginfo_class_ion_Reader_Reader_readTimestamp, ZEND_ACC_PUBLIC)
702 ZEND_ME(ion_Reader_Reader, readSymbol, arginfo_class_ion_Reader_Reader_readSymbol, ZEND_ACC_PUBLIC)
703 ZEND_ME(ion_Reader_Reader, readString, arginfo_class_ion_Reader_Reader_readString, ZEND_ACC_PUBLIC)
704 ZEND_ME(ion_Reader_Reader, readStringPart, arginfo_class_ion_Reader_Reader_readStringPart, ZEND_ACC_PUBLIC)
705 ZEND_ME(ion_Reader_Reader, readLob, arginfo_class_ion_Reader_Reader_readLob, ZEND_ACC_PUBLIC)
706 ZEND_ME(ion_Reader_Reader, readLobPart, arginfo_class_ion_Reader_Reader_readLobPart, ZEND_ACC_PUBLIC)
707 ZEND_ME(ion_Reader_Reader, getPosition, arginfo_class_ion_Reader_Reader_getPosition, ZEND_ACC_PUBLIC)
708 ZEND_ME(ion_Reader_Reader, getDepth, arginfo_class_ion_Reader_Reader_getDepth, ZEND_ACC_PUBLIC)
709 ZEND_ME(ion_Reader_Reader, seek, arginfo_class_ion_Reader_Reader_seek, ZEND_ACC_PUBLIC)
710 ZEND_ME(ion_Reader_Reader, getValueOffset, arginfo_class_ion_Reader_Reader_getValueOffset, ZEND_ACC_PUBLIC)
711 ZEND_ME(ion_Reader_Reader, getValueLength, arginfo_class_ion_Reader_Reader_getValueLength, ZEND_ACC_PUBLIC)
712 ZEND_FE_END
713 };
714
715
716 static const zend_function_entry class_ion_Reader_Buffer_methods[] = {
717 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Buffer, getBuffer, arginfo_class_ion_Reader_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
718 ZEND_FE_END
719 };
720
721
722 static const zend_function_entry class_ion_Reader_Buffer_Reader_methods[] = {
723 ZEND_ME(ion_Reader_Buffer_Reader, __construct, arginfo_class_ion_Reader_Buffer_Reader___construct, ZEND_ACC_PUBLIC)
724 ZEND_ME(ion_Reader_Buffer_Reader, getBuffer, arginfo_class_ion_Reader_Buffer_Reader_getBuffer, ZEND_ACC_PUBLIC)
725 ZEND_FE_END
726 };
727
728
729 static const zend_function_entry class_ion_Reader_Stream_methods[] = {
730 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, getStream, arginfo_class_ion_Reader_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
731 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStream, arginfo_class_ion_Reader_Stream_resetStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
732 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Reader_Stream, resetStreamWithLength, arginfo_class_ion_Reader_Stream_resetStreamWithLength, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
733 ZEND_FE_END
734 };
735
736
737 static const zend_function_entry class_ion_Reader_Stream_Reader_methods[] = {
738 ZEND_ME(ion_Reader_Stream_Reader, __construct, arginfo_class_ion_Reader_Stream_Reader___construct, ZEND_ACC_PUBLIC)
739 ZEND_ME(ion_Reader_Stream_Reader, getStream, arginfo_class_ion_Reader_Stream_Reader_getStream, ZEND_ACC_PUBLIC)
740 ZEND_ME(ion_Reader_Stream_Reader, resetStream, arginfo_class_ion_Reader_Stream_Reader_resetStream, ZEND_ACC_PUBLIC)
741 ZEND_ME(ion_Reader_Stream_Reader, resetStreamWithLength, arginfo_class_ion_Reader_Stream_Reader_resetStreamWithLength, ZEND_ACC_PUBLIC)
742 ZEND_FE_END
743 };
744
745
746 static const zend_function_entry class_ion_Writer_Options_methods[] = {
747 ZEND_ME(ion_Writer_Options, __construct, arginfo_class_ion_Writer_Options___construct, ZEND_ACC_PUBLIC)
748 ZEND_FE_END
749 };
750
751
752 static const zend_function_entry class_ion_Writer_methods[] = {
753 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeNull, arginfo_class_ion_Writer_writeNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
754 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTypedNull, arginfo_class_ion_Writer_writeTypedNull, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
755 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBool, arginfo_class_ion_Writer_writeBool, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
756 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeInt, arginfo_class_ion_Writer_writeInt, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
757 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFloat, arginfo_class_ion_Writer_writeFloat, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
758 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeDecimal, arginfo_class_ion_Writer_writeDecimal, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
759 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeTimestamp, arginfo_class_ion_Writer_writeTimestamp, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
760 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeSymbol, arginfo_class_ion_Writer_writeSymbol, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
761 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeString, arginfo_class_ion_Writer_writeString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
762 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeCLob, arginfo_class_ion_Writer_writeCLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
763 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeBLob, arginfo_class_ion_Writer_writeBLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
764 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startLob, arginfo_class_ion_Writer_startLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
765 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, appendLob, arginfo_class_ion_Writer_appendLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
766 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishLob, arginfo_class_ion_Writer_finishLob, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
767 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, startContainer, arginfo_class_ion_Writer_startContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
768 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finishContainer, arginfo_class_ion_Writer_finishContainer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
769 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeFieldName, arginfo_class_ion_Writer_writeFieldName, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
770 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAnnotation, arginfo_class_ion_Writer_writeAnnotation, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
771 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, getDepth, arginfo_class_ion_Writer_getDepth, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
772 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, flush, arginfo_class_ion_Writer_flush, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
773 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, finish, arginfo_class_ion_Writer_finish, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
774 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeOne, arginfo_class_ion_Writer_writeOne, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
775 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer, writeAll, arginfo_class_ion_Writer_writeAll, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
776 ZEND_FE_END
777 };
778
779
780 static const zend_function_entry class_ion_Writer_Writer_methods[] = {
781 ZEND_ME(ion_Writer_Writer, writeNull, arginfo_class_ion_Writer_Writer_writeNull, ZEND_ACC_PUBLIC)
782 ZEND_ME(ion_Writer_Writer, writeTypedNull, arginfo_class_ion_Writer_Writer_writeTypedNull, ZEND_ACC_PUBLIC)
783 ZEND_ME(ion_Writer_Writer, writeBool, arginfo_class_ion_Writer_Writer_writeBool, ZEND_ACC_PUBLIC)
784 ZEND_ME(ion_Writer_Writer, writeInt, arginfo_class_ion_Writer_Writer_writeInt, ZEND_ACC_PUBLIC)
785 ZEND_ME(ion_Writer_Writer, writeFloat, arginfo_class_ion_Writer_Writer_writeFloat, ZEND_ACC_PUBLIC)
786 ZEND_ME(ion_Writer_Writer, writeDecimal, arginfo_class_ion_Writer_Writer_writeDecimal, ZEND_ACC_PUBLIC)
787 ZEND_ME(ion_Writer_Writer, writeTimestamp, arginfo_class_ion_Writer_Writer_writeTimestamp, ZEND_ACC_PUBLIC)
788 ZEND_ME(ion_Writer_Writer, writeSymbol, arginfo_class_ion_Writer_Writer_writeSymbol, ZEND_ACC_PUBLIC)
789 ZEND_ME(ion_Writer_Writer, writeString, arginfo_class_ion_Writer_Writer_writeString, ZEND_ACC_PUBLIC)
790 ZEND_ME(ion_Writer_Writer, writeCLob, arginfo_class_ion_Writer_Writer_writeCLob, ZEND_ACC_PUBLIC)
791 ZEND_ME(ion_Writer_Writer, writeBLob, arginfo_class_ion_Writer_Writer_writeBLob, ZEND_ACC_PUBLIC)
792 ZEND_ME(ion_Writer_Writer, startLob, arginfo_class_ion_Writer_Writer_startLob, ZEND_ACC_PUBLIC)
793 ZEND_ME(ion_Writer_Writer, appendLob, arginfo_class_ion_Writer_Writer_appendLob, ZEND_ACC_PUBLIC)
794 ZEND_ME(ion_Writer_Writer, finishLob, arginfo_class_ion_Writer_Writer_finishLob, ZEND_ACC_PUBLIC)
795 ZEND_ME(ion_Writer_Writer, startContainer, arginfo_class_ion_Writer_Writer_startContainer, ZEND_ACC_PUBLIC)
796 ZEND_ME(ion_Writer_Writer, finishContainer, arginfo_class_ion_Writer_Writer_finishContainer, ZEND_ACC_PUBLIC)
797 ZEND_ME(ion_Writer_Writer, writeFieldName, arginfo_class_ion_Writer_Writer_writeFieldName, ZEND_ACC_PUBLIC)
798 ZEND_ME(ion_Writer_Writer, writeAnnotation, arginfo_class_ion_Writer_Writer_writeAnnotation, ZEND_ACC_PUBLIC)
799 ZEND_ME(ion_Writer_Writer, getDepth, arginfo_class_ion_Writer_Writer_getDepth, ZEND_ACC_PUBLIC)
800 ZEND_ME(ion_Writer_Writer, flush, arginfo_class_ion_Writer_Writer_flush, ZEND_ACC_PUBLIC)
801 ZEND_ME(ion_Writer_Writer, finish, arginfo_class_ion_Writer_Writer_finish, ZEND_ACC_PUBLIC)
802 ZEND_ME(ion_Writer_Writer, writeOne, arginfo_class_ion_Writer_Writer_writeOne, ZEND_ACC_PUBLIC)
803 ZEND_ME(ion_Writer_Writer, writeAll, arginfo_class_ion_Writer_Writer_writeAll, ZEND_ACC_PUBLIC)
804 ZEND_FE_END
805 };
806
807
808 static const zend_function_entry class_ion_Writer_Buffer_methods[] = {
809 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Buffer, getBuffer, arginfo_class_ion_Writer_Buffer_getBuffer, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
810 ZEND_FE_END
811 };
812
813
814 static const zend_function_entry class_ion_Writer_Buffer_Writer_methods[] = {
815 ZEND_ME(ion_Writer_Buffer_Writer, __construct, arginfo_class_ion_Writer_Buffer_Writer___construct, ZEND_ACC_PUBLIC)
816 ZEND_ME(ion_Writer_Buffer_Writer, getBuffer, arginfo_class_ion_Writer_Buffer_Writer_getBuffer, ZEND_ACC_PUBLIC)
817 ZEND_FE_END
818 };
819
820
821 static const zend_function_entry class_ion_Writer_Stream_methods[] = {
822 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Writer_Stream, getStream, arginfo_class_ion_Writer_Stream_getStream, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
823 ZEND_FE_END
824 };
825
826
827 static const zend_function_entry class_ion_Writer_Stream_Writer_methods[] = {
828 ZEND_ME(ion_Writer_Stream_Writer, __construct, arginfo_class_ion_Writer_Stream_Writer___construct, ZEND_ACC_PUBLIC)
829 ZEND_ME(ion_Writer_Stream_Writer, getStream, arginfo_class_ion_Writer_Stream_Writer_getStream, ZEND_ACC_PUBLIC)
830 ZEND_FE_END
831 };
832
833
834 static const zend_function_entry class_ion_Serializer_methods[] = {
835 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Serializer, __invoke, arginfo_class_ion_Serializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
836 ZEND_FE_END
837 };
838
839
840 static const zend_function_entry class_ion_Unserializer_methods[] = {
841 ZEND_ABSTRACT_ME_WITH_FLAGS(ion_Unserializer, __invoke, arginfo_class_ion_Unserializer___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
842 ZEND_FE_END
843 };
844
845
846 static const zend_function_entry class_ion_Serializer_PHP_methods[] = {
847 ZEND_ME(ion_Serializer_PHP, __construct, arginfo_class_ion_Serializer_PHP___construct, ZEND_ACC_PUBLIC)
848 ZEND_ME(ion_Serializer_PHP, __invoke, arginfo_class_ion_Serializer_PHP___invoke, ZEND_ACC_PUBLIC)
849 ZEND_ME(ion_Serializer_PHP, serialize, arginfo_class_ion_Serializer_PHP_serialize, ZEND_ACC_PROTECTED)
850 ZEND_FE_END
851 };
852
853
854 static const zend_function_entry class_ion_Unserializer_PHP_methods[] = {
855 ZEND_ME(ion_Unserializer_PHP, __construct, arginfo_class_ion_Unserializer_PHP___construct, ZEND_ACC_PUBLIC)
856 ZEND_ME(ion_Unserializer_PHP, __invoke, arginfo_class_ion_Unserializer_PHP___invoke, ZEND_ACC_PUBLIC)
857 ZEND_ME(ion_Unserializer_PHP, unserialize, arginfo_class_ion_Unserializer_PHP_unserialize, ZEND_ACC_PROTECTED)
858 ZEND_FE_END
859 };
860
861 static zend_class_entry *register_class_ion_Type(void)
862 {
863 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Type", IS_LONG, class_ion_Type_methods);
864
865 zval enum_case_Null_value;
866 ZVAL_LONG(&enum_case_Null_value, 0);
867 zend_enum_add_case_cstr(class_entry, "Null", &enum_case_Null_value);
868
869 zval enum_case_Bool_value;
870 ZVAL_LONG(&enum_case_Bool_value, 256);
871 zend_enum_add_case_cstr(class_entry, "Bool", &enum_case_Bool_value);
872
873 zval enum_case_Int_value;
874 ZVAL_LONG(&enum_case_Int_value, 512);
875 zend_enum_add_case_cstr(class_entry, "Int", &enum_case_Int_value);
876
877 zval enum_case_Float_value;
878 ZVAL_LONG(&enum_case_Float_value, 1024);
879 zend_enum_add_case_cstr(class_entry, "Float", &enum_case_Float_value);
880
881 zval enum_case_Decimal_value;
882 ZVAL_LONG(&enum_case_Decimal_value, 1280);
883 zend_enum_add_case_cstr(class_entry, "Decimal", &enum_case_Decimal_value);
884
885 zval enum_case_Timestamp_value;
886 ZVAL_LONG(&enum_case_Timestamp_value, 1536);
887 zend_enum_add_case_cstr(class_entry, "Timestamp", &enum_case_Timestamp_value);
888
889 zval enum_case_Symbol_value;
890 ZVAL_LONG(&enum_case_Symbol_value, 1792);
891 zend_enum_add_case_cstr(class_entry, "Symbol", &enum_case_Symbol_value);
892
893 zval enum_case_String_value;
894 ZVAL_LONG(&enum_case_String_value, 2048);
895 zend_enum_add_case_cstr(class_entry, "String", &enum_case_String_value);
896
897 zval enum_case_CLob_value;
898 ZVAL_LONG(&enum_case_CLob_value, 2304);
899 zend_enum_add_case_cstr(class_entry, "CLob", &enum_case_CLob_value);
900
901 zval enum_case_BLob_value;
902 ZVAL_LONG(&enum_case_BLob_value, 2560);
903 zend_enum_add_case_cstr(class_entry, "BLob", &enum_case_BLob_value);
904
905 zval enum_case_AList_value;
906 ZVAL_LONG(&enum_case_AList_value, 2816);
907 zend_enum_add_case_cstr(class_entry, "AList", &enum_case_AList_value);
908
909 zval enum_case_SExp_value;
910 ZVAL_LONG(&enum_case_SExp_value, 3072);
911 zend_enum_add_case_cstr(class_entry, "SExp", &enum_case_SExp_value);
912
913 zval enum_case_Struct_value;
914 ZVAL_LONG(&enum_case_Struct_value, 3328);
915 zend_enum_add_case_cstr(class_entry, "Struct", &enum_case_Struct_value);
916
917 zval enum_case_Datagram_value;
918 ZVAL_LONG(&enum_case_Datagram_value, 3840);
919 zend_enum_add_case_cstr(class_entry, "Datagram", &enum_case_Datagram_value);
920
921 zval enum_case_EOF_value;
922 ZVAL_LONG(&enum_case_EOF_value, -256);
923 zend_enum_add_case_cstr(class_entry, "EOF", &enum_case_EOF_value);
924
925 zval enum_case_NONE_value;
926 ZVAL_LONG(&enum_case_NONE_value, -512);
927 zend_enum_add_case_cstr(class_entry, "NONE", &enum_case_NONE_value);
928
929 return class_entry;
930 }
931
932 static zend_class_entry *register_class_ion_Annotation(void)
933 {
934 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Annotation", IS_STRING, class_ion_Annotation_methods);
935
936 zval enum_case_PHP_value;
937 zend_string *enum_case_PHP_value_str = zend_string_init("PHP", sizeof("PHP") - 1, 1);
938 ZVAL_STR(&enum_case_PHP_value, enum_case_PHP_value_str);
939 zend_enum_add_case_cstr(class_entry, "PHP", &enum_case_PHP_value);
940
941 zval enum_case_REFERENCE_value;
942 zend_string *enum_case_REFERENCE_value_str = zend_string_init("R", sizeof("R") - 1, 1);
943 ZVAL_STR(&enum_case_REFERENCE_value, enum_case_REFERENCE_value_str);
944 zend_enum_add_case_cstr(class_entry, "REFERENCE", &enum_case_REFERENCE_value);
945
946 zval enum_case_BACKREF_value;
947 zend_string *enum_case_BACKREF_value_str = zend_string_init("r", sizeof("r") - 1, 1);
948 ZVAL_STR(&enum_case_BACKREF_value, enum_case_BACKREF_value_str);
949 zend_enum_add_case_cstr(class_entry, "BACKREF", &enum_case_BACKREF_value);
950
951 zval enum_case_OBJECT_value;
952 zend_string *enum_case_OBJECT_value_str = zend_string_init("o", sizeof("o") - 1, 1);
953 ZVAL_STR(&enum_case_OBJECT_value, enum_case_OBJECT_value_str);
954 zend_enum_add_case_cstr(class_entry, "OBJECT", &enum_case_OBJECT_value);
955
956 zval enum_case_CLASS_OBJ_value;
957 zend_string *enum_case_CLASS_OBJ_value_str = zend_string_init("c", sizeof("c") - 1, 1);
958 ZVAL_STR(&enum_case_CLASS_OBJ_value, enum_case_CLASS_OBJ_value_str);
959 zend_enum_add_case_cstr(class_entry, "CLASS_OBJ", &enum_case_CLASS_OBJ_value);
960
961 zval enum_case_MAGIC_OBJ_value;
962 zend_string *enum_case_MAGIC_OBJ_value_str = zend_string_init("O", sizeof("O") - 1, 1);
963 ZVAL_STR(&enum_case_MAGIC_OBJ_value, enum_case_MAGIC_OBJ_value_str);
964 zend_enum_add_case_cstr(class_entry, "MAGIC_OBJ", &enum_case_MAGIC_OBJ_value);
965
966 zval enum_case_CUSTOM_OBJ_value;
967 zend_string *enum_case_CUSTOM_OBJ_value_str = zend_string_init("C", sizeof("C") - 1, 1);
968 ZVAL_STR(&enum_case_CUSTOM_OBJ_value, enum_case_CUSTOM_OBJ_value_str);
969 zend_enum_add_case_cstr(class_entry, "CUSTOM_OBJ", &enum_case_CUSTOM_OBJ_value);
970
971 zval enum_case_SERIALIZABLE_value;
972 zend_string *enum_case_SERIALIZABLE_value_str = zend_string_init("S", sizeof("S") - 1, 1);
973 ZVAL_STR(&enum_case_SERIALIZABLE_value, enum_case_SERIALIZABLE_value_str);
974 zend_enum_add_case_cstr(class_entry, "SERIALIZABLE", &enum_case_SERIALIZABLE_value);
975
976 zval enum_case_ENUM_value;
977 zend_string *enum_case_ENUM_value_str = zend_string_init("E", sizeof("E") - 1, 1);
978 ZVAL_STR(&enum_case_ENUM_value, enum_case_ENUM_value_str);
979 zend_enum_add_case_cstr(class_entry, "ENUM", &enum_case_ENUM_value);
980
981 zval enum_case_PROPERTY_value;
982 zend_string *enum_case_PROPERTY_value_str = zend_string_init("p", sizeof("p") - 1, 1);
983 ZVAL_STR(&enum_case_PROPERTY_value, enum_case_PROPERTY_value_str);
984 zend_enum_add_case_cstr(class_entry, "PROPERTY", &enum_case_PROPERTY_value);
985
986 return class_entry;
987 }
988
989 static zend_class_entry *register_class_ion_Symbol_ImportLocation(void)
990 {
991 zend_class_entry ce, *class_entry;
992
993 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "ImportLocation", class_ion_Symbol_ImportLocation_methods);
994 class_entry = zend_register_internal_class_ex(&ce, NULL);
995
996 zval property_name_default_value;
997 ZVAL_UNDEF(&property_name_default_value);
998 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
999 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));
1000 zend_string_release(property_name_name);
1001
1002 zval property_location_default_value;
1003 ZVAL_UNDEF(&property_location_default_value);
1004 zend_string *property_location_name = zend_string_init("location", sizeof("location") - 1, 1);
1005 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));
1006 zend_string_release(property_location_name);
1007
1008 return class_entry;
1009 }
1010
1011 static zend_class_entry *register_class_ion_Symbol_System(void)
1012 {
1013 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System", IS_STRING, class_ion_Symbol_System_methods);
1014
1015 zval enum_case_Ion_value;
1016 zend_string *enum_case_Ion_value_str = zend_string_init("$ion", sizeof("$ion") - 1, 1);
1017 ZVAL_STR(&enum_case_Ion_value, enum_case_Ion_value_str);
1018 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1019
1020 zval enum_case_Ivm_1_0_value;
1021 zend_string *enum_case_Ivm_1_0_value_str = zend_string_init("$ion_1_0", sizeof("$ion_1_0") - 1, 1);
1022 ZVAL_STR(&enum_case_Ivm_1_0_value, enum_case_Ivm_1_0_value_str);
1023 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1024
1025 zval enum_case_IonSymbolTable_value;
1026 zend_string *enum_case_IonSymbolTable_value_str = zend_string_init("$ion_symbol_table", sizeof("$ion_symbol_table") - 1, 1);
1027 ZVAL_STR(&enum_case_IonSymbolTable_value, enum_case_IonSymbolTable_value_str);
1028 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1029
1030 zval enum_case_Name_value;
1031 zend_string *enum_case_Name_value_str = zend_string_init("name", sizeof("name") - 1, 1);
1032 ZVAL_STR(&enum_case_Name_value, enum_case_Name_value_str);
1033 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1034
1035 zval enum_case_Version_value;
1036 zend_string *enum_case_Version_value_str = zend_string_init("version", sizeof("version") - 1, 1);
1037 ZVAL_STR(&enum_case_Version_value, enum_case_Version_value_str);
1038 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1039
1040 zval enum_case_Imports_value;
1041 zend_string *enum_case_Imports_value_str = zend_string_init("imports", sizeof("imports") - 1, 1);
1042 ZVAL_STR(&enum_case_Imports_value, enum_case_Imports_value_str);
1043 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1044
1045 zval enum_case_Symbols_value;
1046 zend_string *enum_case_Symbols_value_str = zend_string_init("symbols", sizeof("symbols") - 1, 1);
1047 ZVAL_STR(&enum_case_Symbols_value, enum_case_Symbols_value_str);
1048 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1049
1050 zval enum_case_MaxId_value;
1051 zend_string *enum_case_MaxId_value_str = zend_string_init("max_id", sizeof("max_id") - 1, 1);
1052 ZVAL_STR(&enum_case_MaxId_value, enum_case_MaxId_value_str);
1053 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1054
1055 zval enum_case_SharedSymbolTable_value;
1056 zend_string *enum_case_SharedSymbolTable_value_str = zend_string_init("$ion_shared_symbol_table", sizeof("$ion_shared_symbol_table") - 1, 1);
1057 ZVAL_STR(&enum_case_SharedSymbolTable_value, enum_case_SharedSymbolTable_value_str);
1058 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1059
1060 return class_entry;
1061 }
1062
1063 static zend_class_entry *register_class_ion_Symbol_System_SID(void)
1064 {
1065 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Symbol\\System\\SID", IS_LONG, class_ion_Symbol_System_SID_methods);
1066
1067 zval enum_case_Ion_value;
1068 ZVAL_LONG(&enum_case_Ion_value, 1);
1069 zend_enum_add_case_cstr(class_entry, "Ion", &enum_case_Ion_value);
1070
1071 zval enum_case_Ivm_1_0_value;
1072 ZVAL_LONG(&enum_case_Ivm_1_0_value, 2);
1073 zend_enum_add_case_cstr(class_entry, "Ivm_1_0", &enum_case_Ivm_1_0_value);
1074
1075 zval enum_case_IonSymbolTable_value;
1076 ZVAL_LONG(&enum_case_IonSymbolTable_value, 3);
1077 zend_enum_add_case_cstr(class_entry, "IonSymbolTable", &enum_case_IonSymbolTable_value);
1078
1079 zval enum_case_Name_value;
1080 ZVAL_LONG(&enum_case_Name_value, 4);
1081 zend_enum_add_case_cstr(class_entry, "Name", &enum_case_Name_value);
1082
1083 zval enum_case_Version_value;
1084 ZVAL_LONG(&enum_case_Version_value, 5);
1085 zend_enum_add_case_cstr(class_entry, "Version", &enum_case_Version_value);
1086
1087 zval enum_case_Imports_value;
1088 ZVAL_LONG(&enum_case_Imports_value, 6);
1089 zend_enum_add_case_cstr(class_entry, "Imports", &enum_case_Imports_value);
1090
1091 zval enum_case_Symbols_value;
1092 ZVAL_LONG(&enum_case_Symbols_value, 7);
1093 zend_enum_add_case_cstr(class_entry, "Symbols", &enum_case_Symbols_value);
1094
1095 zval enum_case_MaxId_value;
1096 ZVAL_LONG(&enum_case_MaxId_value, 8);
1097 zend_enum_add_case_cstr(class_entry, "MaxId", &enum_case_MaxId_value);
1098
1099 zval enum_case_SharedSymbolTable_value;
1100 ZVAL_LONG(&enum_case_SharedSymbolTable_value, 9);
1101 zend_enum_add_case_cstr(class_entry, "SharedSymbolTable", &enum_case_SharedSymbolTable_value);
1102
1103 return class_entry;
1104 }
1105
1106 static zend_class_entry *register_class_ion_Symbol(void)
1107 {
1108 zend_class_entry ce, *class_entry;
1109
1110 INIT_NS_CLASS_ENTRY(ce, "ion", "Symbol", class_ion_Symbol_methods);
1111 class_entry = zend_register_internal_class_ex(&ce, NULL);
1112
1113 zval property_value_default_value;
1114 ZVAL_UNDEF(&property_value_default_value);
1115 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1116 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));
1117 zend_string_release(property_value_name);
1118
1119 zval property_sid_default_value;
1120 ZVAL_UNDEF(&property_sid_default_value);
1121 zend_string *property_sid_name = zend_string_init("sid", sizeof("sid") - 1, 1);
1122 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));
1123 zend_string_release(property_sid_name);
1124
1125 zend_string *property_importLocation_class_ion_Symbol_ImportLocation = zend_string_init("ion\\Symbol\\ImportLocation", sizeof("ion\\Symbol\\ImportLocation")-1, 1);
1126 zval property_importLocation_default_value;
1127 ZVAL_UNDEF(&property_importLocation_default_value);
1128 zend_string *property_importLocation_name = zend_string_init("importLocation", sizeof("importLocation") - 1, 1);
1129 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));
1130 zend_string_release(property_importLocation_name);
1131
1132 return class_entry;
1133 }
1134
1135 static zend_class_entry *register_class_ion_Symbol_Table(void)
1136 {
1137 zend_class_entry ce, *class_entry;
1138
1139 INIT_NS_CLASS_ENTRY(ce, "ion\\Symbol", "Table", class_ion_Symbol_Table_methods);
1140 class_entry = zend_register_internal_class_ex(&ce, NULL);
1141
1142 return class_entry;
1143 }
1144
1145 static zend_class_entry *register_class_ion_Catalog(void)
1146 {
1147 zend_class_entry ce, *class_entry;
1148
1149 INIT_NS_CLASS_ENTRY(ce, "ion", "Catalog", class_ion_Catalog_methods);
1150 class_entry = zend_register_internal_class_ex(&ce, NULL);
1151
1152 return class_entry;
1153 }
1154
1155 static zend_class_entry *register_class_ion_Collection(void)
1156 {
1157 zend_class_entry ce, *class_entry;
1158
1159 INIT_NS_CLASS_ENTRY(ce, "ion", "Collection", class_ion_Collection_methods);
1160 class_entry = zend_register_internal_class_ex(&ce, NULL);
1161
1162 return class_entry;
1163 }
1164
1165 static zend_class_entry *register_class_ion_LOB(void)
1166 {
1167 zend_class_entry ce, *class_entry;
1168
1169 INIT_NS_CLASS_ENTRY(ce, "ion", "LOB", class_ion_LOB_methods);
1170 class_entry = zend_register_internal_class_ex(&ce, NULL);
1171
1172 zval property_value_default_value;
1173 ZVAL_UNDEF(&property_value_default_value);
1174 zend_string *property_value_name = zend_string_init("value", sizeof("value") - 1, 1);
1175 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));
1176 zend_string_release(property_value_name);
1177
1178 zend_string *property_type_class_ion_Type = zend_string_init("ion\\Type", sizeof("ion\\Type")-1, 1);
1179 zval property_type_default_value;
1180 ZVAL_UNDEF(&property_type_default_value);
1181 zend_string *property_type_name = zend_string_init("type", sizeof("type") - 1, 1);
1182 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));
1183 zend_string_release(property_type_name);
1184
1185 return class_entry;
1186 }
1187
1188 static zend_class_entry *register_class_ion_Decimal_Context(void)
1189 {
1190 zend_class_entry ce, *class_entry;
1191
1192 INIT_NS_CLASS_ENTRY(ce, "ion\\Decimal", "Context", class_ion_Decimal_Context_methods);
1193 class_entry = zend_register_internal_class_ex(&ce, NULL);
1194
1195 zval property_bits_default_value;
1196 ZVAL_UNDEF(&property_bits_default_value);
1197 zend_string *property_bits_name = zend_string_init("bits", sizeof("bits") - 1, 1);
1198 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));
1199 zend_string_release(property_bits_name);
1200
1201 return class_entry;
1202 }
1203
1204 static zend_class_entry *register_class_ion_Decimal(void)
1205 {
1206 zend_class_entry ce, *class_entry;
1207
1208 INIT_NS_CLASS_ENTRY(ce, "ion", "Decimal", class_ion_Decimal_methods);
1209 class_entry = zend_register_internal_class_ex(&ce, NULL);
1210
1211 zval property_number_default_value;
1212 ZVAL_UNDEF(&property_number_default_value);
1213 zend_string *property_number_name = zend_string_init("number", sizeof("number") - 1, 1);
1214 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));
1215 zend_string_release(property_number_name);
1216
1217 zend_string *property_context_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1218 zval property_context_default_value;
1219 ZVAL_UNDEF(&property_context_default_value);
1220 zend_string *property_context_name = zend_string_init("context", sizeof("context") - 1, 1);
1221 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));
1222 zend_string_release(property_context_name);
1223
1224 return class_entry;
1225 }
1226
1227 static zend_class_entry *register_class_ion_Timestamp_Precision(void)
1228 {
1229 zend_class_entry *class_entry = zend_register_internal_enum("ion\\Timestamp\\Precision", IS_LONG, class_ion_Timestamp_Precision_methods);
1230
1231 zval enum_case_Year_value;
1232 ZVAL_LONG(&enum_case_Year_value, 1);
1233 zend_enum_add_case_cstr(class_entry, "Year", &enum_case_Year_value);
1234
1235 zval enum_case_Month_value;
1236 ZVAL_LONG(&enum_case_Month_value, 3);
1237 zend_enum_add_case_cstr(class_entry, "Month", &enum_case_Month_value);
1238
1239 zval enum_case_Day_value;
1240 ZVAL_LONG(&enum_case_Day_value, 7);
1241 zend_enum_add_case_cstr(class_entry, "Day", &enum_case_Day_value);
1242
1243 zval enum_case_Min_value;
1244 ZVAL_LONG(&enum_case_Min_value, 23);
1245 zend_enum_add_case_cstr(class_entry, "Min", &enum_case_Min_value);
1246
1247 zval enum_case_Sec_value;
1248 ZVAL_LONG(&enum_case_Sec_value, 55);
1249 zend_enum_add_case_cstr(class_entry, "Sec", &enum_case_Sec_value);
1250
1251 zval enum_case_Frac_value;
1252 ZVAL_LONG(&enum_case_Frac_value, 119);
1253 zend_enum_add_case_cstr(class_entry, "Frac", &enum_case_Frac_value);
1254
1255 return class_entry;
1256 }
1257
1258 static zend_class_entry *register_class_ion_Timestamp(zend_class_entry *class_entry_DateTime)
1259 {
1260 zend_class_entry ce, *class_entry;
1261
1262 INIT_NS_CLASS_ENTRY(ce, "ion", "Timestamp", class_ion_Timestamp_methods);
1263 class_entry = zend_register_internal_class_ex(&ce, class_entry_DateTime);
1264
1265 zval property_precision_default_value;
1266 ZVAL_UNDEF(&property_precision_default_value);
1267 zend_string *property_precision_name = zend_string_init("precision", sizeof("precision") - 1, 1);
1268 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));
1269 zend_string_release(property_precision_name);
1270
1271 zval property_format_default_value;
1272 ZVAL_UNDEF(&property_format_default_value);
1273 zend_string *property_format_name = zend_string_init("format", sizeof("format") - 1, 1);
1274 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));
1275 zend_string_release(property_format_name);
1276
1277 return class_entry;
1278 }
1279
1280 static zend_class_entry *register_class_ion_Reader(zend_class_entry *class_entry_RecursiveIterator)
1281 {
1282 zend_class_entry ce, *class_entry;
1283
1284 INIT_NS_CLASS_ENTRY(ce, "ion", "Reader", class_ion_Reader_methods);
1285 class_entry = zend_register_internal_interface(&ce);
1286 zend_class_implements(class_entry, 1, class_entry_RecursiveIterator);
1287
1288 return class_entry;
1289 }
1290
1291 static zend_class_entry *register_class_ion_Reader_Options(void)
1292 {
1293 zend_class_entry ce, *class_entry;
1294
1295 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Options", class_ion_Reader_Options_methods);
1296 class_entry = zend_register_internal_class_ex(&ce, NULL);
1297
1298 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1299 zval property_catalog_default_value;
1300 ZVAL_UNDEF(&property_catalog_default_value);
1301 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1302 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));
1303 zend_string_release(property_catalog_name);
1304
1305 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1306 zval property_decimalContext_default_value;
1307 ZVAL_UNDEF(&property_decimalContext_default_value);
1308 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1309 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));
1310 zend_string_release(property_decimalContext_name);
1311
1312 zend_string *property_onContextChange_class_Closure = zend_string_init("Closure", sizeof("Closure")-1, 1);
1313 zval property_onContextChange_default_value;
1314 ZVAL_UNDEF(&property_onContextChange_default_value);
1315 zend_string *property_onContextChange_name = zend_string_init("onContextChange", sizeof("onContextChange") - 1, 1);
1316 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));
1317 zend_string_release(property_onContextChange_name);
1318
1319 zval property_returnSystemValues_default_value;
1320 ZVAL_UNDEF(&property_returnSystemValues_default_value);
1321 zend_string *property_returnSystemValues_name = zend_string_init("returnSystemValues", sizeof("returnSystemValues") - 1, 1);
1322 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));
1323 zend_string_release(property_returnSystemValues_name);
1324
1325 zval property_newLine_default_value;
1326 ZVAL_UNDEF(&property_newLine_default_value);
1327 zend_string *property_newLine_name = zend_string_init("newLine", sizeof("newLine") - 1, 1);
1328 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));
1329 zend_string_release(property_newLine_name);
1330
1331 zval property_maxContainerDepth_default_value;
1332 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1333 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1334 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));
1335 zend_string_release(property_maxContainerDepth_name);
1336
1337 zval property_maxAnnotations_default_value;
1338 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1339 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1340 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));
1341 zend_string_release(property_maxAnnotations_name);
1342
1343 zval property_maxAnnotationBuffered_default_value;
1344 ZVAL_UNDEF(&property_maxAnnotationBuffered_default_value);
1345 zend_string *property_maxAnnotationBuffered_name = zend_string_init("maxAnnotationBuffered", sizeof("maxAnnotationBuffered") - 1, 1);
1346 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));
1347 zend_string_release(property_maxAnnotationBuffered_name);
1348
1349 zval property_symbolThreshold_default_value;
1350 ZVAL_UNDEF(&property_symbolThreshold_default_value);
1351 zend_string *property_symbolThreshold_name = zend_string_init("symbolThreshold", sizeof("symbolThreshold") - 1, 1);
1352 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));
1353 zend_string_release(property_symbolThreshold_name);
1354
1355 zval property_userValueThreshold_default_value;
1356 ZVAL_UNDEF(&property_userValueThreshold_default_value);
1357 zend_string *property_userValueThreshold_name = zend_string_init("userValueThreshold", sizeof("userValueThreshold") - 1, 1);
1358 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));
1359 zend_string_release(property_userValueThreshold_name);
1360
1361 zval property_chunkThreshold_default_value;
1362 ZVAL_UNDEF(&property_chunkThreshold_default_value);
1363 zend_string *property_chunkThreshold_name = zend_string_init("chunkThreshold", sizeof("chunkThreshold") - 1, 1);
1364 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));
1365 zend_string_release(property_chunkThreshold_name);
1366
1367 zval property_allocationPageSize_default_value;
1368 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1369 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1370 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));
1371 zend_string_release(property_allocationPageSize_name);
1372
1373 zval property_skipCharacterValidation_default_value;
1374 ZVAL_UNDEF(&property_skipCharacterValidation_default_value);
1375 zend_string *property_skipCharacterValidation_name = zend_string_init("skipCharacterValidation", sizeof("skipCharacterValidation") - 1, 1);
1376 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));
1377 zend_string_release(property_skipCharacterValidation_name);
1378
1379 return class_entry;
1380 }
1381
1382 static zend_class_entry *register_class_ion_Reader_Reader(zend_class_entry *class_entry_ion_Reader)
1383 {
1384 zend_class_entry ce, *class_entry;
1385
1386 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Reader", class_ion_Reader_Reader_methods);
1387 class_entry = zend_register_internal_class_ex(&ce, NULL);
1388 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1389 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1390
1391 zend_string *property_options_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1392 zval property_options_default_value;
1393 ZVAL_UNDEF(&property_options_default_value);
1394 zend_string *property_options_name = zend_string_init("options", sizeof("options") - 1, 1);
1395 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));
1396 zend_string_release(property_options_name);
1397
1398 return class_entry;
1399 }
1400
1401 static zend_class_entry *register_class_ion_Reader_Buffer(zend_class_entry *class_entry_ion_Reader)
1402 {
1403 zend_class_entry ce, *class_entry;
1404
1405 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Buffer", class_ion_Reader_Buffer_methods);
1406 class_entry = zend_register_internal_interface(&ce);
1407 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1408
1409 return class_entry;
1410 }
1411
1412 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)
1413 {
1414 zend_class_entry ce, *class_entry;
1415
1416 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Buffer", "Reader", class_ion_Reader_Buffer_Reader_methods);
1417 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1418 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Buffer);
1419
1420 return class_entry;
1421 }
1422
1423 static zend_class_entry *register_class_ion_Reader_Stream(zend_class_entry *class_entry_ion_Reader)
1424 {
1425 zend_class_entry ce, *class_entry;
1426
1427 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader", "Stream", class_ion_Reader_Stream_methods);
1428 class_entry = zend_register_internal_interface(&ce);
1429 zend_class_implements(class_entry, 1, class_entry_ion_Reader);
1430
1431 return class_entry;
1432 }
1433
1434 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)
1435 {
1436 zend_class_entry ce, *class_entry;
1437
1438 INIT_NS_CLASS_ENTRY(ce, "ion\\Reader\\Stream", "Reader", class_ion_Reader_Stream_Reader_methods);
1439 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Reader_Reader);
1440 zend_class_implements(class_entry, 1, class_entry_ion_Reader_Stream);
1441
1442 return class_entry;
1443 }
1444
1445 static zend_class_entry *register_class_ion_Writer_Options(void)
1446 {
1447 zend_class_entry ce, *class_entry;
1448
1449 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Options", class_ion_Writer_Options_methods);
1450 class_entry = zend_register_internal_class_ex(&ce, NULL);
1451
1452 zend_string *property_catalog_class_ion_Catalog = zend_string_init("ion\\Catalog", sizeof("ion\\Catalog")-1, 1);
1453 zval property_catalog_default_value;
1454 ZVAL_UNDEF(&property_catalog_default_value);
1455 zend_string *property_catalog_name = zend_string_init("catalog", sizeof("catalog") - 1, 1);
1456 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));
1457 zend_string_release(property_catalog_name);
1458
1459 zend_string *property_decimalContext_class_ion_Decimal_Context = zend_string_init("ion\\Decimal\\Context", sizeof("ion\\Decimal\\Context")-1, 1);
1460 zval property_decimalContext_default_value;
1461 ZVAL_UNDEF(&property_decimalContext_default_value);
1462 zend_string *property_decimalContext_name = zend_string_init("decimalContext", sizeof("decimalContext") - 1, 1);
1463 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));
1464 zend_string_release(property_decimalContext_name);
1465
1466 zval property_outputBinary_default_value;
1467 ZVAL_UNDEF(&property_outputBinary_default_value);
1468 zend_string *property_outputBinary_name = zend_string_init("outputBinary", sizeof("outputBinary") - 1, 1);
1469 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));
1470 zend_string_release(property_outputBinary_name);
1471
1472 zval property_compactFloats_default_value;
1473 ZVAL_UNDEF(&property_compactFloats_default_value);
1474 zend_string *property_compactFloats_name = zend_string_init("compactFloats", sizeof("compactFloats") - 1, 1);
1475 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));
1476 zend_string_release(property_compactFloats_name);
1477
1478 zval property_escapeNonAscii_default_value;
1479 ZVAL_UNDEF(&property_escapeNonAscii_default_value);
1480 zend_string *property_escapeNonAscii_name = zend_string_init("escapeNonAscii", sizeof("escapeNonAscii") - 1, 1);
1481 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));
1482 zend_string_release(property_escapeNonAscii_name);
1483
1484 zval property_prettyPrint_default_value;
1485 ZVAL_UNDEF(&property_prettyPrint_default_value);
1486 zend_string *property_prettyPrint_name = zend_string_init("prettyPrint", sizeof("prettyPrint") - 1, 1);
1487 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));
1488 zend_string_release(property_prettyPrint_name);
1489
1490 zval property_indentTabs_default_value;
1491 ZVAL_UNDEF(&property_indentTabs_default_value);
1492 zend_string *property_indentTabs_name = zend_string_init("indentTabs", sizeof("indentTabs") - 1, 1);
1493 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));
1494 zend_string_release(property_indentTabs_name);
1495
1496 zval property_indentSize_default_value;
1497 ZVAL_UNDEF(&property_indentSize_default_value);
1498 zend_string *property_indentSize_name = zend_string_init("indentSize", sizeof("indentSize") - 1, 1);
1499 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));
1500 zend_string_release(property_indentSize_name);
1501
1502 zval property_smallContainersInline_default_value;
1503 ZVAL_UNDEF(&property_smallContainersInline_default_value);
1504 zend_string *property_smallContainersInline_name = zend_string_init("smallContainersInline", sizeof("smallContainersInline") - 1, 1);
1505 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));
1506 zend_string_release(property_smallContainersInline_name);
1507
1508 zval property_suppressSystemValues_default_value;
1509 ZVAL_UNDEF(&property_suppressSystemValues_default_value);
1510 zend_string *property_suppressSystemValues_name = zend_string_init("suppressSystemValues", sizeof("suppressSystemValues") - 1, 1);
1511 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));
1512 zend_string_release(property_suppressSystemValues_name);
1513
1514 zval property_flushEveryValue_default_value;
1515 ZVAL_UNDEF(&property_flushEveryValue_default_value);
1516 zend_string *property_flushEveryValue_name = zend_string_init("flushEveryValue", sizeof("flushEveryValue") - 1, 1);
1517 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));
1518 zend_string_release(property_flushEveryValue_name);
1519
1520 zval property_maxContainerDepth_default_value;
1521 ZVAL_UNDEF(&property_maxContainerDepth_default_value);
1522 zend_string *property_maxContainerDepth_name = zend_string_init("maxContainerDepth", sizeof("maxContainerDepth") - 1, 1);
1523 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));
1524 zend_string_release(property_maxContainerDepth_name);
1525
1526 zval property_maxAnnotations_default_value;
1527 ZVAL_UNDEF(&property_maxAnnotations_default_value);
1528 zend_string *property_maxAnnotations_name = zend_string_init("maxAnnotations", sizeof("maxAnnotations") - 1, 1);
1529 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));
1530 zend_string_release(property_maxAnnotations_name);
1531
1532 zval property_tempBufferSize_default_value;
1533 ZVAL_UNDEF(&property_tempBufferSize_default_value);
1534 zend_string *property_tempBufferSize_name = zend_string_init("tempBufferSize", sizeof("tempBufferSize") - 1, 1);
1535 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));
1536 zend_string_release(property_tempBufferSize_name);
1537
1538 zval property_allocationPageSize_default_value;
1539 ZVAL_UNDEF(&property_allocationPageSize_default_value);
1540 zend_string *property_allocationPageSize_name = zend_string_init("allocationPageSize", sizeof("allocationPageSize") - 1, 1);
1541 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));
1542 zend_string_release(property_allocationPageSize_name);
1543
1544 return class_entry;
1545 }
1546
1547 static zend_class_entry *register_class_ion_Writer(void)
1548 {
1549 zend_class_entry ce, *class_entry;
1550
1551 INIT_NS_CLASS_ENTRY(ce, "ion", "Writer", class_ion_Writer_methods);
1552 class_entry = zend_register_internal_interface(&ce);
1553
1554 return class_entry;
1555 }
1556
1557 static zend_class_entry *register_class_ion_Writer_Writer(zend_class_entry *class_entry_ion_Writer)
1558 {
1559 zend_class_entry ce, *class_entry;
1560
1561 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Writer", class_ion_Writer_Writer_methods);
1562 class_entry = zend_register_internal_class_ex(&ce, NULL);
1563 class_entry->ce_flags |= ZEND_ACC_ABSTRACT;
1564 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1565
1566 return class_entry;
1567 }
1568
1569 static zend_class_entry *register_class_ion_Writer_Buffer(zend_class_entry *class_entry_ion_Writer)
1570 {
1571 zend_class_entry ce, *class_entry;
1572
1573 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Buffer", class_ion_Writer_Buffer_methods);
1574 class_entry = zend_register_internal_interface(&ce);
1575 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1576
1577 return class_entry;
1578 }
1579
1580 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)
1581 {
1582 zend_class_entry ce, *class_entry;
1583
1584 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Buffer", "Writer", class_ion_Writer_Buffer_Writer_methods);
1585 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1586 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Buffer);
1587
1588 return class_entry;
1589 }
1590
1591 static zend_class_entry *register_class_ion_Writer_Stream(zend_class_entry *class_entry_ion_Writer)
1592 {
1593 zend_class_entry ce, *class_entry;
1594
1595 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer", "Stream", class_ion_Writer_Stream_methods);
1596 class_entry = zend_register_internal_interface(&ce);
1597 zend_class_implements(class_entry, 1, class_entry_ion_Writer);
1598
1599 return class_entry;
1600 }
1601
1602 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)
1603 {
1604 zend_class_entry ce, *class_entry;
1605
1606 INIT_NS_CLASS_ENTRY(ce, "ion\\Writer\\Stream", "Writer", class_ion_Writer_Stream_Writer_methods);
1607 class_entry = zend_register_internal_class_ex(&ce, class_entry_ion_Writer_Writer);
1608 zend_class_implements(class_entry, 1, class_entry_ion_Writer_Stream);
1609
1610 return class_entry;
1611 }
1612
1613 static zend_class_entry *register_class_ion_Serializer(void)
1614 {
1615 zend_class_entry ce, *class_entry;
1616
1617 INIT_NS_CLASS_ENTRY(ce, "ion", "Serializer", class_ion_Serializer_methods);
1618 class_entry = zend_register_internal_interface(&ce);
1619
1620 return class_entry;
1621 }
1622
1623 static zend_class_entry *register_class_ion_Unserializer(void)
1624 {
1625 zend_class_entry ce, *class_entry;
1626
1627 INIT_NS_CLASS_ENTRY(ce, "ion", "Unserializer", class_ion_Unserializer_methods);
1628 class_entry = zend_register_internal_interface(&ce);
1629
1630 return class_entry;
1631 }
1632
1633 static zend_class_entry *register_class_ion_Serializer_PHP(zend_class_entry *class_entry_ion_Serializer)
1634 {
1635 zend_class_entry ce, *class_entry;
1636
1637 INIT_NS_CLASS_ENTRY(ce, "ion\\Serializer", "PHP", class_ion_Serializer_PHP_methods);
1638 class_entry = zend_register_internal_class_ex(&ce, NULL);
1639 zend_class_implements(class_entry, 1, class_entry_ion_Serializer);
1640
1641 zend_string *property_writerOptions_class_ion_Writer_Options = zend_string_init("ion\\Writer\\Options", sizeof("ion\\Writer\\Options")-1, 1);
1642 zval property_writerOptions_default_value;
1643 ZVAL_UNDEF(&property_writerOptions_default_value);
1644 zend_string *property_writerOptions_name = zend_string_init("writerOptions", sizeof("writerOptions") - 1, 1);
1645 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));
1646 zend_string_release(property_writerOptions_name);
1647
1648 zval property_multiSequence_default_value;
1649 ZVAL_UNDEF(&property_multiSequence_default_value);
1650 zend_string *property_multiSequence_name = zend_string_init("multiSequence", sizeof("multiSequence") - 1, 1);
1651 zend_declare_typed_property(class_entry, property_multiSequence_name, &property_multiSequence_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1652 zend_string_release(property_multiSequence_name);
1653
1654 zval property_callMagicSerialize_default_value;
1655 ZVAL_UNDEF(&property_callMagicSerialize_default_value);
1656 zend_string *property_callMagicSerialize_name = zend_string_init("callMagicSerialize", sizeof("callMagicSerialize") - 1, 1);
1657 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));
1658 zend_string_release(property_callMagicSerialize_name);
1659
1660 zval property_callCustomSerialize_default_value;
1661 ZVAL_UNDEF(&property_callCustomSerialize_default_value);
1662 zend_string *property_callCustomSerialize_name = zend_string_init("callCustomSerialize", sizeof("callCustomSerialize") - 1, 1);
1663 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));
1664 zend_string_release(property_callCustomSerialize_name);
1665
1666 return class_entry;
1667 }
1668
1669 static zend_class_entry *register_class_ion_Unserializer_PHP(zend_class_entry *class_entry_ion_Unserializer)
1670 {
1671 zend_class_entry ce, *class_entry;
1672
1673 INIT_NS_CLASS_ENTRY(ce, "ion\\Unserializer", "PHP", class_ion_Unserializer_PHP_methods);
1674 class_entry = zend_register_internal_class_ex(&ce, NULL);
1675 zend_class_implements(class_entry, 1, class_entry_ion_Unserializer);
1676
1677 zend_string *property_readerOptions_class_ion_Reader_Options = zend_string_init("ion\\Reader\\Options", sizeof("ion\\Reader\\Options")-1, 1);
1678 zval property_readerOptions_default_value;
1679 ZVAL_UNDEF(&property_readerOptions_default_value);
1680 zend_string *property_readerOptions_name = zend_string_init("readerOptions", sizeof("readerOptions") - 1, 1);
1681 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));
1682 zend_string_release(property_readerOptions_name);
1683
1684 zval property_multiSequence_default_value;
1685 ZVAL_UNDEF(&property_multiSequence_default_value);
1686 zend_string *property_multiSequence_name = zend_string_init("multiSequence", sizeof("multiSequence") - 1, 1);
1687 zend_declare_typed_property(class_entry, property_multiSequence_name, &property_multiSequence_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
1688 zend_string_release(property_multiSequence_name);
1689
1690 zval property_callMagicUnserialize_default_value;
1691 ZVAL_UNDEF(&property_callMagicUnserialize_default_value);
1692 zend_string *property_callMagicUnserialize_name = zend_string_init("callMagicUnserialize", sizeof("callMagicUnserialize") - 1, 1);
1693 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));
1694 zend_string_release(property_callMagicUnserialize_name);
1695
1696 zval property_callCustomUnserialize_default_value;
1697 ZVAL_UNDEF(&property_callCustomUnserialize_default_value);
1698 zend_string *property_callCustomUnserialize_name = zend_string_init("callCustomUnserialize", sizeof("callCustomUnserialize") - 1, 1);
1699 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));
1700 zend_string_release(property_callCustomUnserialize_name);
1701
1702 return class_entry;
1703 }