mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Fix ZTS build here too.
# # What is the correct location of XMLRPC extension? # Can the reduntand one be removed then and the build system fixed # to acommodate that.
This commit is contained in:
parent
8ef5a3d48e
commit
8dbbddfb54
1 changed files with 2 additions and 0 deletions
|
@ -1317,6 +1317,7 @@ XMLRPC_VECTOR_TYPE xmlrpc_str_as_vector_type(const char* str)
|
||||||
int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
|
int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
|
||||||
{
|
{
|
||||||
int bSuccess = FAILURE;
|
int bSuccess = FAILURE;
|
||||||
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
/* we only really care about strings because they can represent
|
/* we only really care about strings because they can represent
|
||||||
* base64 and datetime. all other types have corresponding php types
|
* base64 and datetime. all other types have corresponding php types
|
||||||
|
@ -1366,6 +1367,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
|
||||||
XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(zval* value, zval** newvalue)
|
XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(zval* value, zval** newvalue)
|
||||||
{
|
{
|
||||||
XMLRPC_VALUE_TYPE type = xmlrpc_none;
|
XMLRPC_VALUE_TYPE type = xmlrpc_none;
|
||||||
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
switch (Z_TYPE_P(value)) {
|
switch (Z_TYPE_P(value)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue