summaryrefslogtreecommitdiff
path: root/Zend/zend_generators.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2012-05-20 00:03:27 +0200
committerNikita Popov <nikic@php.net>2012-05-20 00:03:27 +0200
commitca59e5464de78dae1f7c874a6bcc4f7ea2948b1d (patch)
tree29b6271fe534e8e7feec73b046a1846d6758cb19 /Zend/zend_generators.h
parent1cec3f12cc719ccde286a3a55f6da1a5bf9ea2e4 (diff)
downloadphp-git-ca59e5464de78dae1f7c874a6bcc4f7ea2948b1d.tar.gz
Add empty Generator class
Diffstat (limited to 'Zend/zend_generators.h')
-rw-r--r--Zend/zend_generators.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/Zend/zend_generators.h b/Zend/zend_generators.h
new file mode 100644
index 0000000000..60899072df
--- /dev/null
+++ b/Zend/zend_generators.h
@@ -0,0 +1,40 @@
+/*
+ +----------------------------------------------------------------------+
+ | Zend Engine |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 2.00 of the Zend license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available through the world-wide-web at the following url: |
+ | http://www.zend.com/license/2_00.txt. |
+ | If you did not receive a copy of the Zend license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@zend.com so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Authors: Nikita Popov <nikic@php.net> |
+ +----------------------------------------------------------------------+
+*/
+
+/* $Id$ */
+
+#ifndef ZEND_GENERATORS_H
+#define ZEND_GENERATORS_H
+
+BEGIN_EXTERN_C()
+
+void zend_register_generator_ce(TSRMLS_D);
+
+extern ZEND_API zend_class_entry *zend_ce_generator;
+
+END_EXTERN_C()
+
+#endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * indent-tabs-mode: t
+ * End:
+ */