Damn; outlook must have clobbered the mimetype and the list stripped it...
Here it is again with a .txt extension. --Wez. > -----Original Message----- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: 20 May 2002 03:12 > To: Wez Furlong > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] [PATCH] some BEGIN_EXTERN_C for Zend Engine > > > What patch? > > On Mon, 20 May 2002, Wez Furlong wrote: > > > Can someone with karma for the ZE please apply this patch? > You'll need > > it if you want to play with the activescript sapi. > > > > Thanks! > > > > --Wez. > > > > > >
? wez.cplusplus.diff ? wez.zendcplusplus.diff Index: zend_API.h =================================================================== RCS file: /repository/Zend/zend_API.h,v retrieving revision 1.111 diff -u -r1.111 zend_API.h --- zend_API.h 6 Jan 2002 15:21:08 -0000 1.111 +++ zend_API.h 20 May 2002 01:40:04 -0000 @@ -29,6 +29,8 @@ #include "zend_variables.h" #include "zend_execute.h" + +BEGIN_EXTERN_C() #define ZEND_FN(name) zif_##name #define ZEND_NAMED_FUNCTION(name) void name(INTERNAL_FUNCTION_PARAMETERS) #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(ZEND_FN(name)) @@ -416,6 +418,8 @@ #define ZEND_RSHUTDOWN_FUNCTION ZEND_MODULE_DEACTIVATE_D #define ZEND_MINFO_FUNCTION ZEND_MODULE_INFO_D +END_EXTERN_C() + #endif /* ZEND_API_H */ Index: zend_execute.h =================================================================== RCS file: /repository/Zend/zend_execute.h,v retrieving revision 1.43 diff -u -r1.43 zend_execute.h --- zend_execute.h 16 May 2002 04:28:18 -0000 1.43 +++ zend_execute.h 20 May 2002 01:40:04 -0000 @@ -27,6 +27,7 @@ #include "zend_operators.h" #include "zend_execute_globals.h" +BEGIN_EXTERN_C() ZEND_API extern void (*zend_execute)(zend_op_array *op_array TSRMLS_DC); void init_executor(TSRMLS_D); @@ -136,5 +137,7 @@ #define IS_OVERLOADED_OBJECT 1 #define IS_STRING_OFFSET 2 + +END_EXTERN_C() #endif /* ZEND_EXECUTE_H */ Index: zend_list.h =================================================================== RCS file: /repository/Zend/zend_list.h,v retrieving revision 1.39 diff -u -r1.39 zend_list.h --- zend_list.h 6 Jan 2002 15:21:09 -0000 1.39 +++ zend_list.h 20 May 2002 01:40:05 -0000 @@ -24,6 +24,7 @@ #include "zend_hash.h" #include "zend_globals.h" +BEGIN_EXTERN_C() #define ZEND_RESOURCE_LIST_TYPE_STD 1 #define ZEND_RESOURCE_LIST_TYPE_EX 2 @@ -105,5 +106,6 @@ if (le_id == 0) { \ le_id = zend_fetch_list_dtor_id(le_type_name); \ } +END_EXTERN_C() #endif
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php