breaks the Windows build.
ZVAL_NULL(&return_value);
/* fetch the IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
obj = (comval *) zend_list_find(Z_LVAL_P(*comval_handle), &type);
if(!obj || (type != IS_COM))
{
/* fetch the IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
obj = (comval *)zend_list_find(Z_LVAL_P(*comval_handle), &type);
if(!obj || (type != IS_COM))
{
*object_handle = *return_value;
pval_copy_constructor(object_handle);
INIT_PZVAL(object_handle);
- zend_hash_index_update(object->value.obj.properties, 0, &object_handle, sizeof(pval *), NULL);
+ zend_hash_index_update(Z_OBJPROP_P(object), 0, &object_handle, sizeof(pval *), NULL);
pval_destructor(&function_name->element);
return;
pval_destructor(&function_name->element);
return;
}
- zend_hash_index_find(property.value.obj.properties, 0, (void **) &handle);
- obj = (comval *)zend_list_find((*handle)->value.lval,&type);
+ zend_hash_index_find(Z_OBJPROP(property), 0, (void **) &handle);
+ obj = (comval *)zend_list_find(Z_LVAL_PP(handle), &type);
if(!obj || (type != IS_COM))
{
getParameters(ht, 1, &object);
/* obtain IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
- obj = (comval *) zend_list_find((*comval_handle)->value.lval, &type);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
+ obj = (comval *) zend_list_find(Z_LVAL_PP(comval_handle), &type);
if(!obj || (type != IS_COM))
{
php_error(E_WARNING,"%s is not a COM object handler", "");
*object_handle = *return_value;
pval_copy_constructor(object_handle);
INIT_PZVAL(object_handle);
- zend_hash_index_update(object->value.obj.properties, 0, &object_handle, sizeof(pval *), NULL);
- pval_destructor(&function_name->element);
+ zend_hash_index_update(Z_OBJPROP_P(object), 0, &object_handle, sizeof(pval *), NULL);
+ zval_dtor(&function_name->element);
}
}
VARIANT *var_arg;
/* fetch the VARIANT structure */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &var_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
var_arg = zend_list_find(Z_LVAL_PP(var_handle), &type);
if(!var_arg || (type != IS_VARIANT))
php_error(E_WARNING, "Unknown method.");
break;
- pval_destructor(&overloaded_property->element);
+ zval_dtor(&overloaded_property->element);
}
}
VARIANT *var_arg;
/* fetch the VARIANT structure */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &var_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
var_arg = zend_list_find(Z_LVAL_PP(var_handle), &type);
if(!var_arg || (type != IS_VARIANT))
overloaded_property = (zend_overloaded_element *) property_reference->elements_list->head->data;
do_VARIANT_propset(var_arg, &overloaded_property->element, value);
- pval_destructor(&overloaded_property->element);
+ zval_dtor(&overloaded_property->element);
return SUCCESS;
}
ZVAL_NULL(&return_value);
/* fetch the IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
obj = (comval *) zend_list_find(Z_LVAL_P(*comval_handle), &type);
if(!obj || (type != IS_COM))
{
/* fetch the IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
obj = (comval *)zend_list_find(Z_LVAL_P(*comval_handle), &type);
if(!obj || (type != IS_COM))
{
*object_handle = *return_value;
pval_copy_constructor(object_handle);
INIT_PZVAL(object_handle);
- zend_hash_index_update(object->value.obj.properties, 0, &object_handle, sizeof(pval *), NULL);
+ zend_hash_index_update(Z_OBJPROP_P(object), 0, &object_handle, sizeof(pval *), NULL);
pval_destructor(&function_name->element);
return;
pval_destructor(&function_name->element);
return;
}
- zend_hash_index_find(property.value.obj.properties, 0, (void **) &handle);
- obj = (comval *)zend_list_find((*handle)->value.lval,&type);
+ zend_hash_index_find(Z_OBJPROP(property), 0, (void **) &handle);
+ obj = (comval *)zend_list_find(Z_LVAL_PP(handle), &type);
if(!obj || (type != IS_COM))
{
getParameters(ht, 1, &object);
/* obtain IDispatch interface */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &comval_handle);
- obj = (comval *) zend_list_find((*comval_handle)->value.lval, &type);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &comval_handle);
+ obj = (comval *) zend_list_find(Z_LVAL_PP(comval_handle), &type);
if(!obj || (type != IS_COM))
{
php_error(E_WARNING,"%s is not a COM object handler", "");
*object_handle = *return_value;
pval_copy_constructor(object_handle);
INIT_PZVAL(object_handle);
- zend_hash_index_update(object->value.obj.properties, 0, &object_handle, sizeof(pval *), NULL);
- pval_destructor(&function_name->element);
+ zend_hash_index_update(Z_OBJPROP_P(object), 0, &object_handle, sizeof(pval *), NULL);
+ zval_dtor(&function_name->element);
}
}
VARIANT *var_arg;
/* fetch the VARIANT structure */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &var_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
var_arg = zend_list_find(Z_LVAL_PP(var_handle), &type);
if(!var_arg || (type != IS_VARIANT))
php_error(E_WARNING, "Unknown method.");
break;
- pval_destructor(&overloaded_property->element);
+ zval_dtor(&overloaded_property->element);
}
}
VARIANT *var_arg;
/* fetch the VARIANT structure */
- zend_hash_index_find(object->value.obj.properties, 0, (void **) &var_handle);
+ zend_hash_index_find(Z_OBJPROP_P(object), 0, (void **) &var_handle);
var_arg = zend_list_find(Z_LVAL_PP(var_handle), &type);
if(!var_arg || (type != IS_VARIANT))
overloaded_property = (zend_overloaded_element *) property_reference->elements_list->head->data;
do_VARIANT_propset(var_arg, &overloaded_property->element, value);
- pval_destructor(&overloaded_property->element);
+ zval_dtor(&overloaded_property->element);
return SUCCESS;
}