summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.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.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.h')
-rw-r--r--Zend/zend_objects.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_objects.h b/Zend/zend_objects.h
index ccac69b4f8..047d611d45 100644
--- a/Zend/zend_objects.h
+++ b/Zend/zend_objects.h
@@ -24,12 +24,14 @@
#include "zend.h"
+BEGIN_EXTERN_C()
ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRMLS_DC);
ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC);
ZEND_API zend_object *zend_objects_get_address(zval *object TSRMLS_DC);
ZEND_API void zend_objects_clone_members(zend_object *new_object, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle TSRMLS_DC);
ZEND_API zend_object_value zend_objects_clone_obj(zval *object TSRMLS_DC);
ZEND_API void zend_objects_free_object_storage(zend_object *object TSRMLS_DC);
+END_EXTERN_C()
#endif /* ZEND_OBJECTS_H */