version 1.1.1.1, 2012/02/21 23:47:53
|
version 1.1.1.2, 2012/05/29 12:34:36
|
Line 71 static inline void clone_indices(php_com_saproxy *dest
|
Line 71 static inline void clone_indices(php_com_saproxy *dest
|
} |
} |
} |
} |
|
|
static zval *saproxy_property_read(zval *object, zval *member, int type TSRMLS_DC) | static zval *saproxy_property_read(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) |
{ |
{ |
zval *return_value; |
zval *return_value; |
|
|
Line 83 static zval *saproxy_property_read(zval *object, zval
|
Line 83 static zval *saproxy_property_read(zval *object, zval
|
return return_value; |
return return_value; |
} |
} |
|
|
static void saproxy_property_write(zval *object, zval *member, zval *value TSRMLS_DC) | static void saproxy_property_write(zval *object, zval *member, zval *value, const zend_literal *key TSRMLS_DC) |
{ |
{ |
php_com_throw_exception(E_INVALIDARG, "safearray has no properties" TSRMLS_CC); |
php_com_throw_exception(E_INVALIDARG, "safearray has no properties" TSRMLS_CC); |
} |
} |
Line 293 static zval *saproxy_object_get(zval *property TSRMLS_
|
Line 293 static zval *saproxy_object_get(zval *property TSRMLS_
|
} |
} |
#endif |
#endif |
|
|
static int saproxy_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC) | static int saproxy_property_exists(zval *object, zval *member, int check_empty, const zend_literal *key TSRMLS_DC) |
{ |
{ |
/* no properties */ |
/* no properties */ |
return 0; |
return 0; |
Line 305 static int saproxy_dimension_exists(zval *object, zval
|
Line 305 static int saproxy_dimension_exists(zval *object, zval
|
return 0; |
return 0; |
} |
} |
|
|
static void saproxy_property_delete(zval *object, zval *member TSRMLS_DC) | static void saproxy_property_delete(zval *object, zval *member, const zend_literal *key TSRMLS_DC) |
{ |
{ |
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot delete properties from a COM object"); |
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot delete properties from a COM object"); |
} |
} |
Line 321 static HashTable *saproxy_properties_get(zval *object
|
Line 321 static HashTable *saproxy_properties_get(zval *object
|
return NULL; |
return NULL; |
} |
} |
|
|
static union _zend_function *saproxy_method_get(zval **object, char *name, int len TSRMLS_DC) | static union _zend_function *saproxy_method_get(zval **object, const char *name, int len, const zend_literal *key TSRMLS_DC) |
{ |
{ |
/* no methods */ |
/* no methods */ |
return NULL; |
return NULL; |
} |
} |
|
|
static int saproxy_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS) | static int saproxy_call_method(const char *method, INTERNAL_FUNCTION_PARAMETERS) |
{ |
{ |
return FAILURE; |
return FAILURE; |
} |
} |
Line 343 static zend_class_entry *saproxy_class_entry_get(const
|
Line 343 static zend_class_entry *saproxy_class_entry_get(const
|
return php_com_saproxy_class_entry; |
return php_com_saproxy_class_entry; |
} |
} |
|
|
static int saproxy_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) | static int saproxy_class_name_get(const zval *object, const char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) |
{ |
{ |
*class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length); |
*class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length); |
*class_name_len = php_com_saproxy_class_entry->name_length; |
*class_name_len = php_com_saproxy_class_entry->name_length; |