mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use ZEND_THIS macro to hide implementation details in extensions code.
This commit is contained in:
parent
8f2f80668e
commit
0f7f1498be
54 changed files with 688 additions and 687 deletions
|
@ -399,7 +399,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet)
|
|||
xmlNode *nodep = NULL;
|
||||
zval *cloneDocu, member, rv;
|
||||
|
||||
id = &EX(This);
|
||||
id = ZEND_THIS;
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "o", &docp) == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
@ -622,7 +622,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc)
|
|||
zend_string *ret_class = NULL;
|
||||
xsl_object *intern;
|
||||
|
||||
id = &EX(This);
|
||||
id = ZEND_THIS;
|
||||
intern = Z_XSL_P(id);
|
||||
sheetp = (xsltStylesheetPtr) intern->ptr;
|
||||
|
||||
|
@ -679,7 +679,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_uri)
|
|||
char *uri;
|
||||
xsl_object *intern;
|
||||
|
||||
id = &EX(This);
|
||||
id = ZEND_THIS;
|
||||
intern = Z_XSL_P(id);
|
||||
sheetp = (xsltStylesheetPtr) intern->ptr;
|
||||
|
||||
|
@ -711,7 +711,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_xml)
|
|||
int doc_txt_len;
|
||||
xsl_object *intern;
|
||||
|
||||
id = &EX(This);
|
||||
id = ZEND_THIS;
|
||||
intern = Z_XSL_P(id);
|
||||
sheetp = (xsltStylesheetPtr) intern->ptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue