2003-02-01 09:49:15 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Zend Engine |
|
|
|
|
+----------------------------------------------------------------------+
|
2007-12-31 15:17:19 +08:00
|
|
|
| Copyright (c) 1998-2008 Zend Technologies Ltd. (http://www.zend.com) |
|
2003-02-01 09:49:15 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| This source file is subject to version 2.00 of the Zend license, |
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
2003-02-01 09:49:15 +08:00
|
|
|
| http://www.zend.com/license/2_00.txt. |
|
|
|
|
| If you did not receive a copy of the Zend license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@zend.com so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Andi Gutmans <andi@zend.com> |
|
|
|
|
| Zeev Suraski <zeev@zend.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2001-08-07 11:17:33 +08:00
|
|
|
#ifndef ZEND_OBJECTS_H
|
|
|
|
#define ZEND_OBJECTS_H
|
|
|
|
|
|
|
|
#include "zend.h"
|
|
|
|
|
2004-02-19 06:44:40 +08:00
|
|
|
BEGIN_EXTERN_C()
|
2006-03-29 22:28:43 +08:00
|
|
|
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC);
|
|
|
|
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC);
|
2003-03-26 14:32:53 +08:00
|
|
|
ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRMLS_DC);
|
2005-02-24 10:35:59 +08:00
|
|
|
ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC);
|
2008-08-13 01:20:25 +08:00
|
|
|
ZEND_API zend_object *zend_objects_get_address(const zval *object TSRMLS_DC);
|
2003-07-19 17:47:00 +08:00
|
|
|
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);
|
2002-08-09 01:53:32 +08:00
|
|
|
ZEND_API zend_object_value zend_objects_clone_obj(zval *object TSRMLS_DC);
|
2005-02-24 10:35:59 +08:00
|
|
|
ZEND_API void zend_objects_free_object_storage(zend_object *object TSRMLS_DC);
|
2004-02-19 06:44:40 +08:00
|
|
|
END_EXTERN_C()
|
2002-02-07 22:08:43 +08:00
|
|
|
|
2001-11-05 08:17:28 +08:00
|
|
|
#endif /* ZEND_OBJECTS_H */
|
2003-02-01 09:49:15 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* indent-tabs-mode: t
|
|
|
|
* End:
|
|
|
|
*/
|