diff options
| author | Rob Richards <rrichards@php.net> | 2006-12-24 10:00:59 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2006-12-24 10:00:59 +0000 |
| commit | b7ec6f90e016da3a76f487f62b9694f3184dc2c6 (patch) | |
| tree | b2bbb519c3808d3b5f83257b9c777c6b1aada350 /ext/com_dotnet/com_wrapper.c | |
| parent | 6077df1a03a91ce2fe17ff1a7bdeb979a1a5e842 (diff) | |
| download | php-git-b7ec6f90e016da3a76f487f62b9694f3184dc2c6.tar.gz | |
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
Diffstat (limited to 'ext/com_dotnet/com_wrapper.c')
| -rw-r--r-- | ext/com_dotnet/com_wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_wrapper.c b/ext/com_dotnet/com_wrapper.c index 576fa26bb9..0a7b275f55 100644 --- a/ext/com_dotnet/com_wrapper.c +++ b/ext/com_dotnet/com_wrapper.c @@ -477,6 +477,7 @@ static void generate_dispids(php_dispatchex *disp TSRMLS_DC) /* add the mappings */ MAKE_STD_ZVAL(tmp); ZVAL_STRINGL(tmp, name, namelen-1, 1); + pid = zend_hash_next_free_element(disp->dispid_to_name); zend_hash_index_update(disp->dispid_to_name, pid, (void*)&tmp, sizeof(zval *), NULL); MAKE_STD_ZVAL(tmp); @@ -508,6 +509,7 @@ static void generate_dispids(php_dispatchex *disp TSRMLS_DC) /* add the mappings */ MAKE_STD_ZVAL(tmp); ZVAL_STRINGL(tmp, name, namelen-1, 1); + pid = zend_hash_next_free_element(disp->dispid_to_name); zend_hash_index_update(disp->dispid_to_name, pid, (void*)&tmp, sizeof(zval *), NULL); MAKE_STD_ZVAL(tmp); |
