cvs: ZendEngine2 / zend_object_handlers.c
| From: | Stanislav Malyshev | Date: | Tue, 16 Dec 2003 10:51:21 +0000 |
| Subject: | cvs: ZendEngine2 / zend_object_handlers.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2122@lists.php.net to get a copy of this message | ||
stas Tue Dec 16 05:51:21 2003 EDT
Modified files:
/ZendEngine2 zend_object_handlers.c
Log:
export externally used functions
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.81 ZendEngine2/zend_object_handlers.c:1.82
--- ZendEngine2/zend_object_handlers.c:1.81 Mon Dec 15 11:59:21 2003
+++ ZendEngine2/zend_object_handlers.c Tue Dec 16 05:51:21 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.81 2003/12/15 16:59:21 helly Exp $ */
+/* $Id: zend_object_handlers.c,v 1.82 2003/12/16 10:51:21 stas Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -602,7 +602,7 @@
/* Ensures that we're allowed to call a protected method.
*/
-int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope)
+ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope)
{
zend_class_entry *fbc_scope = ce;
@@ -695,7 +695,7 @@
/* This is not (yet?) in the API, but it belongs in the built-in objects callbacks */
-zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int
function_name_strlen TSRMLS_DC)
+ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, char
*function_name_strval, int function_name_strlen TSRMLS_DC)
{
zend_function *fbc;
@@ -731,7 +731,7 @@
}
-zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int
property_name_len, zend_bool silent TSRMLS_DC)
+ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int
property_name_len, zend_bool silent TSRMLS_DC)
{
zval **retval = NULL;
zend_class_entry *tmp_ce = ce;
@@ -769,7 +769,7 @@
}
-zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int
property_name_len TSRMLS_DC)
+ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int
property_name_len TSRMLS_DC)
{
zend_error(E_ERROR, "Attempt to unset static property %s::$%s", ce->name,
property_name);
return 0;