You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49b20cb084
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@93631 d073be05-634f-4543-b044-5fe20cf6d1d6
41 lines
1.0 KiB
Diff
41 lines
1.0 KiB
Diff
http://svn.php.net/viewvc?view=revision&revision=280732
|
|
http://svn.php.net/viewvc?view=revision&revision=297236
|
|
--- amf.c.orig 2008-07-18 05:28:36.000000000 -0500
|
|
+++ amf.c 2012-05-25 18:58:22.000000000 -0500
|
|
@@ -32,7 +32,7 @@
|
|
|
|
/* module Declarations {{{1*/
|
|
|
|
-static function_entry amf_functions[] = {
|
|
+static zend_function_entry amf_functions[] = {
|
|
PHP_FE(amf_encode, NULL)
|
|
PHP_FE(amf_decode, NULL)
|
|
PHP_FE(amf_join_test, NULL)
|
|
@@ -1185,7 +1185,7 @@
|
|
int resultType = AMFC_TYPEDOBJECT;
|
|
int resultValueLength = 0;
|
|
zval** resultValue = struc;
|
|
- int deallocResult = (*struc)->refcount;
|
|
+ int deallocResult = ZVAL_REFCOUNT(*struc);
|
|
|
|
resultType = amf_perform_serialize_callback(struc, &className,&classNameLen,&resultValue,var_hash TSRMLS_CC);
|
|
|
|
@@ -2632,7 +2632,7 @@
|
|
return SUCCESS;
|
|
}
|
|
}
|
|
- ZVAL_STRINGL(*rval, (char*)src, slength, 1)
|
|
+ ZVAL_STRINGL(*rval, (char*)src, slength, 1);
|
|
return SUCCESS;
|
|
}
|
|
|
|
@@ -2670,7 +2670,7 @@
|
|
}
|
|
else
|
|
{
|
|
- newval->refcount--;
|
|
+ ZVAL_DELREF(newval);
|
|
}
|
|
*rval = newval;
|
|
}
|