File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 26
26
#include "zend_exceptions.h"
27
27
#include "ext/standard/info.h"
28
28
#include "wr_weakref.h"
29
- // #include "wr_weakmap.h" FIXME
29
+ #include "wr_weakmap.h"
30
30
#include "wr_store.h"
31
31
#include "php_weakref.h"
32
32
@@ -40,6 +40,7 @@ PHP_MINIT_FUNCTION(weakref) /* {{{ */
40
40
{
41
41
PHP_MINIT (wr_weakref )(INIT_FUNC_ARGS_PASSTHRU );
42
42
PHP_MINIT (wr_weakmap )(INIT_FUNC_ARGS_PASSTHRU );
43
+ return SUCCESS ;
43
44
}
44
45
/* }}} */
45
46
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ typedef struct _wr_weakmap_refval {
36
36
37
37
extern WEAKREF_API zend_class_entry * wr_ce_WeakMap ;
38
38
39
+ PHP_MINIT_FUNCTION (wr_weakmap );
40
+
39
41
#endif /* WR_WEAKMAP_H */
40
42
41
43
/*
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ typedef struct _wr_weakref_object {
34
34
35
35
extern WEAKREF_API zend_class_entry * wr_ce_WeakRef ;
36
36
37
+ PHP_MINIT_FUNCTION (wr_weakref );
38
+
37
39
#endif /* WR_WEAKREF_H */
38
40
39
41
/*
You can’t perform that action at this time.
0 commit comments