xref: /PHP-7.4/Zend/zend_weakrefs.h (revision 50a6a0d8)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 7                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) The PHP Group                                          |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 2.00 of the Zend license,     |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.zend.com/license/2_00.txt.                                |
11    | If you did not receive a copy of the Zend license and are unable to  |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@zend.com so we can mail you a copy immediately.              |
14    +----------------------------------------------------------------------+
15    | Authors: krakjoe@php.net                                             |
16    +----------------------------------------------------------------------+
17 */
18 
19 #ifndef ZEND_WEAKREFS_H
20 #define ZEND_WEAKREFS_H
21 
22 BEGIN_EXTERN_C()
23 
24 extern ZEND_API zend_class_entry *zend_ce_weakref;
25 
26 void zend_register_weakref_ce(void);
27 
28 void zend_weakrefs_init();
29 void zend_weakrefs_shutdown();
30 
31 ZEND_API void zend_weakrefs_notify(zend_object *object);
32 
33 END_EXTERN_C()
34 
35 #endif
36 
37