summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 677a48697e..0f4bd25744 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -164,6 +164,12 @@ typedef struct {
#define IS_CONSTANT 9
#define IS_METHOD 10 /* for overloaded function calls */
+#define MAKE_STD_ZVAL(zv) \
+ zv = (zval *) emalloc(sizeof(zval)); \
+ zv->refcount = 1; \
+ zv->is_ref = 0;
+
+
int zend_startup(zend_utility_functions *utility_functions, char **extensions);
void zend_shutdown();
void zend_set_utility_values(zend_utility_values *utility_values);