cvs: pecl(ZEND_ENGINE_1) /python pip_convert.c

From: Date: Mon, 22 Dec 2003 06:51:32 +0000
Subject: cvs: pecl(ZEND_ENGINE_1) /python pip_convert.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-604@lists.php.net to get a copy of this message
jon Mon Dec 22 01:51:32 2003 EDT Modified files: (Branch: ZEND_ENGINE_1) /pecl/python pip_convert.c Log: Fixing the ZTS build. It appears as though the zend_hash_* functions now require a TSRM context. Index: pecl/python/pip_convert.c diff -u pecl/python/pip_convert.c:1.9 pecl/python/pip_convert.c:1.9.2.1 --- pecl/python/pip_convert.c:1.9 Sat Jan 4 06:56:02 2003 +++ pecl/python/pip_convert.c Mon Dec 22 01:51:32 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pip_convert.c,v 1.9 2003/01/04 11:56:02 mj Exp $ */ +/* $Id: pip_convert.c,v 1.9.2.1 2003/12/22 06:51:32 jon Exp $ */ #include "pip_convert.h" @@ -132,6 +132,7 @@ zval **entry; char *string_key; long num_key; + TSRMLS_FETCH(); /* * At this point, we represent a PHP object as a dictionary of @@ -227,6 +228,7 @@ zval *hash, *val; PyObject *item; int i = 0; + TSRMLS_FETCH(); /* Make sure this object implements the sequence protocol */ if (!PySequence_Check(seq)) { @@ -263,6 +265,7 @@ PyObject *keys, *key, *item; char *key_name; int i, key_len; + TSRMLS_FETCH(); if (!PyMapping_Check(map)) { return NULL;

« previous php.pecl.cvs (#604) next »