summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2004-02-18 22:44:40 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2004-02-18 22:44:40 +0000
commit3a3f95a3991283eb83b39d8803125b0ca954154a (patch)
tree88e1f19a795c32598491717033a400951c34071f /Zend/zend_object_handlers.h
parent7deeb0f96ab8b0df6e8feee00005defe6ef9e72f (diff)
downloadphp-git-3a3f95a3991283eb83b39d8803125b0ca954154a.tar.gz
wrap ZEND_API prototypes into BEGIN_EXTERN_C/END_EXTERN_C
for C++ extension support
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r--Zend/zend_object_handlers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index a444116795..2f414c22d3 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -124,6 +124,7 @@ typedef struct _zend_object_handlers {
} zend_object_handlers;
extern ZEND_API zend_object_handlers std_object_handlers;
+BEGIN_EXTERN_C()
ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen 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);
ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC);
@@ -140,6 +141,7 @@ ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope)
ZEND_API int zend_check_property_access(zend_object *zobj, char *prop_info_name TSRMLS_DC);
ZEND_API void zend_std_call_user_call(INTERNAL_FUNCTION_PARAMETERS);
+END_EXTERN_C()
#endif