diff options
author | Hannes Magnusson <bjori@php.net> | 2006-06-11 01:42:17 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2006-06-11 01:42:17 +0000 |
commit | 3104233019f5414317ea0275ca8ffeac537e20ee (patch) | |
tree | 36ec35ce66b5544366e834e8c9776d74b2eaf355 /ext/exif | |
parent | 50de3fd1cea9169ce8e495170fd45a16fd5254b3 (diff) | |
download | php-git-3104233019f5414317ea0275ca8ffeac537e20ee.tar.gz |
MFH: arginfo, protos, vim folding
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/exif.c | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 3d28dd18e4..db91238bde 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -98,19 +98,43 @@ typedef unsigned char uchar; #define MAX_IFD_NESTING_LEVEL 100 +/* {{{ arginfo */ static -ZEND_BEGIN_ARG_INFO(exif_thumbnail_force_ref, 1) - ZEND_ARG_PASS_INFO(0) -ZEND_END_ARG_INFO(); +ZEND_BEGIN_ARG_INFO(arginfo_exif_tagname, 0) + ZEND_ARG_INFO(0, index) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_exif_read_data, 0, 0, 1) + ZEND_ARG_INFO(0, filename) + ZEND_ARG_INFO(0, sections_needed) + ZEND_ARG_INFO(0, sub_arrays) + ZEND_ARG_INFO(0, read_thumbnail) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_exif_thumbnail, 0, 0, 1) + ZEND_ARG_INFO(0, filename) + ZEND_ARG_INFO(1, width) + ZEND_ARG_INFO(1, height) + ZEND_ARG_INFO(1, imagetype) +ZEND_END_ARG_INFO() + +static +ZEND_BEGIN_ARG_INFO(arginfo_exif_imagetype, 0) + ZEND_ARG_INFO(0, imagefile) +ZEND_END_ARG_INFO() + +/* }}} */ /* {{{ exif_functions[] */ zend_function_entry exif_functions[] = { - PHP_FE(exif_read_data, NULL) - PHP_FALIAS(read_exif_data, exif_read_data, NULL) - PHP_FE(exif_tagname, NULL) - PHP_FE(exif_thumbnail, exif_thumbnail_force_ref) - PHP_FE(exif_imagetype, NULL) + PHP_FE(exif_read_data, arginfo_exif_read_data) + PHP_FALIAS(read_exif_data, exif_read_data, arginfo_exif_read_data) + PHP_FE(exif_tagname, arginfo_exif_tagname) + PHP_FE(exif_thumbnail, arginfo_exif_thumbnail) + PHP_FE(exif_imagetype, arginfo_exif_imagetype) {NULL, NULL, NULL} }; /* }}} */ |