CVS update: php3

From: Date: Sun, 06 Sep 1998 15:12:34 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-834@lists.php.net to get a copy of this message
Date: Sunday September 6, 1998 @ 11:12 Author: zeev Update of /repository/php3 In directory asf:/u2/tmp/cvs-serv493 Modified Files: php.h Log Message: Give smarter names to the new function macros Index: php3/php.h diff -c php3/php.h:1.32 php3/php.h:1.33 *** php3/php.h:1.32 Sat Aug 8 10:13:30 1998 --- php3/php.h Sun Sep 6 11:12:34 1998 *************** *** 28,34 **** +----------------------------------------------------------------------+ */ ! /* $Id: php.h,v 1.32 1998/08/08 14:13:30 zeev Exp $ */ #ifndef _PHP_H #define _PHP_H --- 28,34 ---- +----------------------------------------------------------------------+ */ ! /* $Id: php.h,v 1.33 1998/09/06 15:12:34 zeev Exp $ */ #ifndef _PHP_H #define _PHP_H *************** *** 376,386 **** #define INTERNAL_FUNCTION_PARAMETERS HashTable *ht, pval *return_value, HashTable *list, HashTable *plist #define INTERNAL_FUNCTION_PARAM_PASSTHRU ht, return_value, list, plist ! #define PHP_FUNCTION(name) void name(INTERNAL_FUNCTION_PARAMETERS) ! #define PHP3_FUNCTION(name) PHP_FUNCTION(php3_##name) ! #define PHP_FE(php_name, name, arg_types) { #php_name, name, arg_types }, ! #define PHP3_FE(name, arg_types) { #name, php3_##name, arg_types }, typedef union { long lval; /* long value */ --- 376,386 ---- #define INTERNAL_FUNCTION_PARAMETERS HashTable *ht, pval *return_value, HashTable *list, HashTable *plist #define INTERNAL_FUNCTION_PARAM_PASSTHRU ht, return_value, list, plist ! #define PHP_NAMED_FUNCTION(name) void name(INTERNAL_FUNCTION_PARAMETERS) ! #define PHP_FUNCTION(name) PHP_NAMED_FUNCTION(php3_##name) ! #define PHP_NAMED_FE(php_name, name, arg_types) { #php_name, name, arg_types }, ! #define PHP_FE(name, arg_types) PHP_NAMED_FE(#name, php3_##name, arg_types) typedef union { long lval; /* long value */ -- 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 (#834) next »