diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-01 11:49:44 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-01 15:17:22 +0200 |
| commit | 312201dce4daca2770fd507af4a9a541bfe83fc0 (patch) | |
| tree | da522ea9d98ab2b457d88a8fa11d7f5f18168481 /ext/com_dotnet | |
| parent | 8d9637bdacd698b72da3e0b9578ebfafefa82f3c (diff) | |
| download | php-git-312201dce4daca2770fd507af4a9a541bfe83fc0.tar.gz | |
Add get_gc handle for object iterators
Optional handler with the same semantics as the object handler.
Diffstat (limited to 'ext/com_dotnet')
| -rw-r--r-- | ext/com_dotnet/com_iterator.c | 3 | ||||
| -rw-r--r-- | ext/com_dotnet/com_saproxy.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/com_dotnet/com_iterator.c b/ext/com_dotnet/com_iterator.c index 0272d48cd3..6126e958d5 100644 --- a/ext/com_dotnet/com_iterator.c +++ b/ext/com_dotnet/com_iterator.c @@ -127,7 +127,8 @@ static const zend_object_iterator_funcs com_iter_funcs = { com_iter_get_data, com_iter_get_key, com_iter_move_forwards, - NULL + NULL, + NULL, /* get_gc */ }; zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref) diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index 2b42315151..d86fb75e3e 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -512,7 +512,8 @@ static const zend_object_iterator_funcs saproxy_iter_funcs = { saproxy_iter_get_data, saproxy_iter_get_key, saproxy_iter_move_forwards, - NULL + NULL, + NULL, /* get_gc */ }; |
