summaryrefslogtreecommitdiff
path: root/Zend/zend_generators_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_generators_arginfo.h')
-rw-r--r--Zend/zend_generators_arginfo.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/Zend/zend_generators_arginfo.h b/Zend/zend_generators_arginfo.h
index 2b6f22f9f5..17a82b1f4b 100644
--- a/Zend/zend_generators_arginfo.h
+++ b/Zend/zend_generators_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 50044c6c8d2a162a988906c0b752a5fe28adb933 */
+ * Stub hash: 06d4e8126db48fe8633ecd40b93904a0f9c59263 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Generator_rewind, 0, 0, IS_VOID, 0)
ZEND_END_ARG_INFO()
@@ -51,3 +51,25 @@ static const zend_function_entry class_Generator_methods[] = {
static const zend_function_entry class_ClosedGeneratorException_methods[] = {
ZEND_FE_END
};
+
+static zend_class_entry *register_class_Generator(zend_class_entry *class_entry_Iterator)
+{
+ zend_class_entry ce, *class_entry;
+
+ INIT_CLASS_ENTRY(ce, "Generator", class_Generator_methods);
+ class_entry = zend_register_internal_class_ex(&ce, NULL);
+ class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES;
+ zend_class_implements(class_entry, 1, class_entry_Iterator);
+
+ return class_entry;
+}
+
+static zend_class_entry *register_class_ClosedGeneratorException(zend_class_entry *class_entry_Exception)
+{
+ zend_class_entry ce, *class_entry;
+
+ INIT_CLASS_ENTRY(ce, "ClosedGeneratorException", class_ClosedGeneratorException_methods);
+ class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
+
+ return class_entry;
+}