CFG=ZendTS - Win32 Release_TSDbg\r
!MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
!MESSAGE use the Export Makefile command and run\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE NMAKE /f "ZendTS.mak".\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE You can specify a configuration when running NMAKE\r
!MESSAGE by defining the macro CFG on the command line. For example:\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE NMAKE /f "ZendTS.mak" CFG="ZendTS - Win32 Release_TSDbg"\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE Possible choices for configuration are:\r
-!MESSAGE\r
+!MESSAGE \r
!MESSAGE "ZendTS - Win32 Release_TS" (based on "Win32 (x86) Static Library")\r
!MESSAGE "ZendTS - Win32 Debug_TS" (based on "Win32 (x86) Static Library")\r
!MESSAGE "ZendTS - Win32 Release_TS_inline" (based on "Win32 (x86) Static Library")\r
!MESSAGE "ZendTS - Win32 Release_TSDbg" (based on "Win32 (x86) Static Library")\r
-!MESSAGE\r
+!MESSAGE \r
\r
# Begin Project\r
# PROP AllowPerConfigDependencies 0\r
# ADD BASE LIB32 /nologo\r
# ADD LIB32 /nologo\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# Begin Target\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\zend_execute_locks.h\r
-# End Source File\r
-# Begin Source File\r
-\r
SOURCE=.\zend_extensions.h\r
# End Source File\r
# Begin Source File\r
$(BuildCmds)\r
# End Custom Build\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# End Source File\r
# Begin Source File\r
$(BuildCmds)\r
# End Custom Build\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# End Source File\r
# End Group\r
\r
# End Custom Build\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# End Source File\r
# Begin Source File\r
\r
# End Custom Build\r
\r
-!ENDIF\r
+!ENDIF \r
\r
# End Source File\r
# End Group\r
#define EX_T(offset) (*(temp_variable *)((char *) EX(Ts) + offset))
#define T(offset) (*(temp_variable *)((char *) Ts + offset))
+
+/* former zend_execute_locks.h */
+static inline void zend_pzval_lock_func(zval *z)
+{
+ z->refcount++;
+}
+
+
+static inline void zend_pzval_unlock_func(zval *z TSRMLS_DC)
+{
+ z->refcount--;
+ if (!z->refcount) {
+ z->refcount = 1;
+ z->is_ref = 0;
+ EG(garbage)[EG(garbage_ptr)++] = z;
+ }
+}
+
+static inline void zend_clean_garbage(TSRMLS_D)
+{
+ while (EG(garbage_ptr)) {
+ zval_ptr_dtor(&EG(garbage)[--EG(garbage_ptr)]);
+ }
+}
+
+#define PZVAL_UNLOCK(z) zend_pzval_unlock_func(z TSRMLS_CC)
+#define PZVAL_LOCK(z) zend_pzval_lock_func(z)
+#define SELECTIVE_PZVAL_LOCK(pzv, pzn) if (!((pzn)->u.EA.type & EXT_TYPE_UNUSED)) { PZVAL_LOCK(pzv); }
+
+/* End of zend_execute_locks.h */
+
static inline zval *_get_zval_ptr(znode *node, temp_variable *Ts, zval **should_free TSRMLS_DC)
{
switch (node->op_type) {
+++ /dev/null
-/*
- +----------------------------------------------------------------------+
- | Zend Engine |
- +----------------------------------------------------------------------+
- | Copyright (c) 1998-2003 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: Andi Gutmans <andi@zend.com> |
- | Zeev Suraski <zeev@zend.com> |
- +----------------------------------------------------------------------+
-*/
-
-/* $Id$ */
-
-#ifndef ZEND_EXECUTE_LOCKS_H
-#define ZEND_EXECUTE_LOCKS_H
-
-#define PZVAL_LOCK(z) zend_pzval_lock_func(z)
-
-static inline void zend_pzval_lock_func(zval *z)
-{
- z->refcount++;
-}
-
-#define PZVAL_UNLOCK(z) zend_pzval_unlock_func(z TSRMLS_CC)
-
-static inline void zend_pzval_unlock_func(zval *z TSRMLS_DC)
-{
- z->refcount--;
- if (!z->refcount) {
- z->refcount = 1;
- z->is_ref = 0;
- EG(garbage)[EG(garbage_ptr)++] = z;
- }
-}
-
-static inline void zend_clean_garbage(TSRMLS_D)
-{
- while (EG(garbage_ptr)) {
- zval_ptr_dtor(&EG(garbage)[--EG(garbage_ptr)]);
- }
-}
-
-#define SELECTIVE_PZVAL_LOCK(pzv, pzn) if (!((pzn)->u.EA.type & EXT_TYPE_UNUSED)) { PZVAL_LOCK(pzv); }
-
-#endif /* ZEND_EXECUTE_LOCKS_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * indent-tabs-mode: t
- * End:
- */