[PATCH] unresolved externs in zend
| From: | rubys at us dot ibm dot com | Date: | Mon, 06 Mar 2000 00:10:47 +0000 |
| Subject: | [PATCH] unresolved externs in zend | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11549@lists.php.net to get a copy of this message | ||
I'm getting unresolved externals on zend_message_dispatcher. The following
seems to fix it.
--- zend.c 2000/03/05 19:50:09 1.51
+++ zend.c 2000/03/05 23:58:17
@@ -466,12 +466,14 @@
}
+BEGIN_EXTERN_C()
ZEND_API void zend_message_dispatcher(long message, void *data)
{
if (zend_message_dispatcher_p) {
zend_message_dispatcher_p(message, data);
}
}
+END_EXTERN_C()
ZEND_API int zend_get_ini_entry(char *name, uint name_length, zval
*contents)
Index: zend.h
===================================================================
RCS file: /repository/Zend/zend.h,v
retrieving revision 1.77
diff -u -r1.77 zend.h
--- zend.h 2000/03/05 19:50:09 1.77
+++ zend.h 2000/03/05 23:58:18
@@ -298,7 +298,10 @@
#define HANDLE_BLOCK_INTERRUPTIONS() if
(zend_block_interruptions) {
zend_block_interruptions(); }
#define HANDLE_UNBLOCK_INTERRUPTIONS() if
(zend_unblock_interruptions)
{ zend_unblock_interruptions(); }
+BEGIN_EXTERN_C()
ZEND_API void zend_message_dispatcher(long message, void *data);
+END_EXTERN_C()
+
ZEND_API int zend_get_ini_entry(char *name, uint name_length, zval
*contents);
- Sam Ruby
P.S. I used to have commit access to Zend...I no longer seem to. If this
is intentional, OK; otherwise perhaps somebody should look into this?