summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.h
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-04 15:29:59 +0100
committerRemi Collet <remi@php.net>2020-03-04 15:31:06 +0100
commit0b21a89472e3ddbcb658843d3424b0037974521d (patch)
tree0bcce98cc79db509a01f9e54a06f7550e81b43fb /ext/zip/php_zip.h
parent33ef3d64dac366733f2af40d5bce2bac4e5bca1e (diff)
downloadphp-git-0b21a89472e3ddbcb658843d3424b0037974521d.tar.gz
add lastId property to ZipArchive
Diffstat (limited to 'ext/zip/php_zip.h')
-rw-r--r--ext/zip/php_zip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 96390e025a..f28937ebe2 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -59,13 +59,14 @@ typedef struct _ze_zip_object {
char *filename;
int filename_len;
int buffers_cnt;
- zend_object zo;
+ zip_int64_t last_id;
#ifdef HAVE_PROGRESS_CALLBACK
zval progress_callback;
#endif
#ifdef HAVE_CANCEL_CALLBACK
zval cancel_callback;
#endif
+ zend_object zo;
} ze_zip_object;
static inline ze_zip_object *php_zip_fetch_object(zend_object *obj) {