mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Object overloading API changed slightly (llist is now a pointer)
This commit is contained in:
parent
c5d5c69bfe
commit
64f91d80fa
7 changed files with 24 additions and 22 deletions
|
@ -324,7 +324,7 @@ void java_call_function_handler
|
|||
{
|
||||
pval *object = property_reference->object;
|
||||
zend_overloaded_element *function_name = (zend_overloaded_element *)
|
||||
property_reference->elements_list.tail->data;
|
||||
property_reference->elements_list->tail->data;
|
||||
|
||||
int arg_count = ARG_COUNT(ht);
|
||||
jlong result = 0;
|
||||
|
@ -393,7 +393,7 @@ static pval _java_getset_property
|
|||
int type;
|
||||
|
||||
/* get the property name */
|
||||
zend_llist_element *element = property_reference->elements_list.head;
|
||||
zend_llist_element *element = property_reference->elements_list->head;
|
||||
zend_overloaded_element *property=(zend_overloaded_element *)element->data;
|
||||
jstring propName =
|
||||
(*jenv)->NewStringUTF(jenv, property->element.value.str.val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue