summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-07-23 15:24:07 +0300
committerDmitry Stogov <dmitry@zend.com>2018-07-23 15:24:07 +0300
commitebd1f5af3efc8134496016a0010f6bf0b7003503 (patch)
tree0fd29a1964e2b99a30817064fac645e291fde911 /Zend/zend_API.c
parentafc82e243cb7637e2fe0ef21fce736687c615ea2 (diff)
downloadphp-git-ebd1f5af3efc8134496016a0010f6bf0b7003503.tar.gz
API cleanup.
Removed useless filename and lineno arguments, used in DEBUG build. The patch doesn't break source compatibility of public API (only binary compatibility).
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index daa938a302..479b388b96 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1303,7 +1303,7 @@ ZEND_API void object_properties_load(zend_object *object, HashTable *properties)
* class and all props being public. If only a subset is given or the class
* has protected members then you need to merge the properties separately by
* calling zend_merge_properties(). */
-ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC) /* {{{ */
+ZEND_API int object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties) /* {{{ */
{
if (UNEXPECTED(class_type->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS))) {
if (class_type->ce_flags & ZEND_ACC_INTERFACE) {
@@ -1340,9 +1340,9 @@ ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type
}
/* }}} */
-ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) /* {{{ */
+ZEND_API int object_init_ex(zval *arg, zend_class_entry *class_type) /* {{{ */
{
- return _object_and_properties_init(arg, class_type, 0 ZEND_FILE_LINE_RELAY_CC);
+ return object_and_properties_init(arg, class_type, 0);
}
/* }}} */