mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
- fix build
This commit is contained in:
parent
cf9aaf22ce
commit
894a746a80
@ -916,8 +916,9 @@ PHP_FUNCTION(xsl_xsltprocessor_set_security_prefs)
|
||||
{
|
||||
zval *id;
|
||||
xsl_object *intern;
|
||||
DOM_GET_THIS(id);
|
||||
long securityPrefs, oldSecurityPrefs;
|
||||
|
||||
DOM_GET_THIS(id);
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &securityPrefs) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
@ -933,9 +934,9 @@ PHP_FUNCTION(xsl_xsltprocessor_get_security_prefs)
|
||||
{
|
||||
zval *id;
|
||||
xsl_object *intern;
|
||||
DOM_GET_THIS(id);
|
||||
long securityPrefs;
|
||||
|
||||
DOM_GET_THIS(id);
|
||||
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "") == SUCCESS) {
|
||||
intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC);
|
||||
RETURN_LONG(intern->securityPrefs);
|
||||
|
Loading…
Reference in New Issue
Block a user