File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ static zend_object *spl_filesystem_object_new(zend_class_entry *class_type)
202
202
}
203
203
/* }}} */
204
204
205
- PHPAPI zend_string * spl_filesystem_object_get_path (spl_filesystem_object * intern ) /* {{{ */
205
+ PHPAPI zend_string * spl_filesystem_object_get_path (const spl_filesystem_object * intern ) /* {{{ */
206
206
{
207
207
#ifdef HAVE_GLOB
208
208
if (intern -> type == SPL_FS_DIR && php_stream_is (intern -> u .dir .dirp , & php_glob_stream_ops )) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ typedef struct _spl_filesystem_object spl_filesystem_object;
36
36
typedef void (* spl_foreign_dtor_t )(spl_filesystem_object * object );
37
37
typedef void (* spl_foreign_clone_t )(spl_filesystem_object * src , spl_filesystem_object * dst );
38
38
39
- PHPAPI zend_string * spl_filesystem_object_get_path (spl_filesystem_object * intern );
39
+ PHPAPI zend_string * spl_filesystem_object_get_path (const spl_filesystem_object * intern );
40
40
41
41
typedef struct _spl_other_handler {
42
42
spl_foreign_dtor_t dtor ;
You can’t perform that action at this time.
0 commit comments