CVS update: php3

From: Date: Thu, 10 Sep 1998 20:40:17 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-920@lists.php.net to get a copy of this message
Date: Thursday September 10, 1998 @ 16:40 Author: zeev Update of /repository/php3 In directory asf:/u2/tmp/cvs-serv28179 Modified Files: variables.c variables.h Log Message: Give a more descriptive name to a TLS-specific function, and fix a related warning Index: php3/variables.c diff -c php3/variables.c:1.151 php3/variables.c:1.152 *** php3/variables.c:1.151 Mon Sep 7 12:47:21 1998 --- php3/variables.c Thu Sep 10 16:40:16 1998 *************** *** 29,35 **** */ ! /* $Id: variables.c,v 1.151 1998/09/07 16:47:21 shane Exp $ */ #ifdef THREAD_SAFE #include "tls.h" --- 29,35 ---- */ ! /* $Id: variables.c,v 1.152 1998/09/10 20:40:16 zeev Exp $ */ #ifdef THREAD_SAFE #include "tls.h" *************** *** 70,82 **** var->value.str.len = 0; } - void php3_yystype_destructor(pval *yystype) - { - TLS_VARS; - yystype_destructor(yystype _INLINE_TLS); - } - inline void yystype_destructor(pval *yystype INLINE_TLS) { if (yystype->type == IS_STRING) { --- 70,76 ---- *************** *** 96,101 **** --- 90,104 ---- } } } + + + void php3tls_yystype_destructor(pval *yystype) + { + TLS_VARS; + + yystype_destructor(yystype _INLINE_TLS); + } + /* returns 1 if the type of yystype is NOT IS_INTERNAL_FUNCTION */ inline int is_not_internal_function(pval *yystype) Index: php3/variables.h diff -c php3/variables.h:1.48 php3/variables.h:1.49 *** php3/variables.h:1.48 Mon Sep 7 12:47:22 1998 --- php3/variables.h Thu Sep 10 16:40:16 1998 *************** *** 29,35 **** */ ! /* $Id: variables.h,v 1.48 1998/09/07 16:47:22 shane Exp $ */ #ifndef _VARIABLES_H --- 29,35 ---- */ ! /* $Id: variables.h,v 1.49 1998/09/10 20:40:16 zeev Exp $ */ #ifndef _VARIABLES_H *************** *** 53,59 **** extern void get_object_symtable(pval *result, pval *parent, pval *child INLINE_TLS); extern void assign_new_object(pval *result, pval *classname, unsigned char implicit_ctor INLINE_TLS); ! extern PHPAPI void php3_yystype_destructor(pval *yystype); extern void yystype_destructor(pval *yystype INLINE_TLS); extern PHPAPI int yystype_copy_constructor(pval *yystype); #define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor --- 53,59 ---- extern void get_object_symtable(pval *result, pval *parent, pval *child INLINE_TLS); extern void assign_new_object(pval *result, pval *classname, unsigned char implicit_ctor INLINE_TLS); ! extern PHPAPI void php3tls_yystype_destructor(pval *yystype); extern void yystype_destructor(pval *yystype INLINE_TLS); extern PHPAPI int yystype_copy_constructor(pval *yystype); #define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#920) next »