summaryrefslogtreecommitdiff
path: root/Zend/zend_objects_API.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_objects_API.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_objects_API.h')
-rw-r--r--Zend/zend_objects_API.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_objects_API.h b/Zend/zend_objects_API.h
index 48ca0a1cea..cafd6c21cc 100644
--- a/Zend/zend_objects_API.h
+++ b/Zend/zend_objects_API.h
@@ -54,6 +54,7 @@ typedef struct _zend_objects_store {
} zend_objects_store;
/* Global store handling functions */
+BEGIN_EXTERN_C()
ZEND_API void zend_objects_store_init(zend_objects_store *objects, zend_uint init_size);
ZEND_API void zend_objects_store_call_destructors(zend_objects_store *objects TSRMLS_DC);
ZEND_API void zend_objects_store_destroy(zend_objects_store *objects);
@@ -73,6 +74,8 @@ ZEND_API void zend_objects_store_free_object_storage(zend_objects_store *objects
ZEND_API zval **zend_object_create_proxy(zval *object, zval *member TSRMLS_DC);
ZEND_API zend_object_handlers *zend_get_std_object_handlers();
+END_EXTERN_C()
+
#endif /* ZEND_OBJECTS_H */
/*