CVS update: php3
| From: | fmk | Date: | Mon, 10 Aug 1998 19:19:41 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81@lists.php.net to get a copy of this message | ||
Date: Monday August 10, 1998 @ 15:19
Author: fmk
Update of /repository/php3
In directory asf:/tmp/cvs-serv21327
Modified Files:
variables.c variables.h
Log Message:
Adding PHPAPI to the functions yystype_destructor() and yystype_copy_constructor()
in order to compile mssql.dll under windows nt.
Index: php3/variables.c
diff -c php3/variables.c:1.149 php3/variables.c:1.150
*** php3/variables.c:1.149 Fri Aug 7 17:37:21 1998
--- php3/variables.c Mon Aug 10 15:19:40 1998
***************
*** 29,35 ****
*/
! /* $Id: variables.c,v 1.149 1998/08/07 21:37:21 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 29,35 ----
*/
! /* $Id: variables.c,v 1.150 1998/08/10 19:19:40 fmk Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 70,76 ****
var->value.str.len = 0;
}
! inline void yystype_destructor(pval *yystype INLINE_TLS)
{
if (yystype->type == IS_STRING) {
STR_FREE(yystype->value.str.val);
--- 70,76 ----
var->value.str.len = 0;
}
! PHPAPI inline void yystype_destructor(pval *yystype INLINE_TLS)
{
if (yystype->type == IS_STRING) {
STR_FREE(yystype->value.str.val);
***************
*** 101,107 ****
}
! int yystype_copy_constructor(pval *yystype)
{
TLS_VARS;
--- 101,107 ----
}
! PHPAPI int yystype_copy_constructor(pval *yystype)
{
TLS_VARS;
Index: php3/variables.h
diff -c php3/variables.h:1.46 php3/variables.h:1.47
*** php3/variables.h:1.46 Sat Aug 1 06:31:37 1998
--- php3/variables.h Mon Aug 10 15:19:41 1998
***************
*** 29,35 ****
*/
! /* $Id: variables.h,v 1.46 1998/08/01 10:31:37 zeev Exp $ */
#ifndef _VARIABLES_H
--- 29,35 ----
*/
! /* $Id: variables.h,v 1.47 1998/08/10 19:19:41 fmk Exp $ */
#ifndef _VARIABLES_H
***************
*** 53,60 ****
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 void yystype_destructor(pval *yystype INLINE_TLS);
! extern int yystype_copy_constructor(pval *yystype);
#define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor
#define pval_COPY_CTOR (void (*)(void *)) yystype_copy_constructor
--- 53,60 ----
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 yystype_destructor(pval *yystype INLINE_TLS);
! extern PHPAPI int yystype_copy_constructor(pval *yystype);
#define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor
#define pval_COPY_CTOR (void (*)(void *)) yystype_copy_constructor
--
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