Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Side by Side Diff: libexif/exif-tag.c

Issue 235863016: Make libexif play happy with MSVC's non-standard inlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libexif/sources/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* exif-tag.c 1 /* exif-tag.c
2 * 2 *
3 * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net> 3 * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 #endif 870 #endif
871 {0, NULL, NULL, NULL} 871 {0, NULL, NULL, NULL}
872 }; 872 };
873 873
874 /* For now, do not use these functions. */ 874 /* For now, do not use these functions. */
875 875
876 /*! 876 /*!
877 * Return the number of entries in the EXIF tag table, including the 877 * Return the number of entries in the EXIF tag table, including the
878 * terminating NULL entry. 878 * terminating NULL entry.
879 */ 879 */
880 inline unsigned int 880 unsigned int
881 exif_tag_table_count (void) 881 exif_tag_table_count (void)
882 { 882 {
883 return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]); 883 return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]);
884 } 884 }
885 885
886 886
887 ExifTag 887 ExifTag
888 exif_tag_table_get_tag (unsigned int n) 888 exif_tag_table_get_tag (unsigned int n)
889 { 889 {
890 return (n < exif_tag_table_count ()) ? ExifTagTable[n].tag : 0; 890 return (n < exif_tag_table_count ()) ? ExifTagTable[n].tag : 0;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t) 1175 exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t)
1176 { 1176 {
1177 if (ifd >= EXIF_IFD_COUNT) 1177 if (ifd >= EXIF_IFD_COUNT)
1178 return EXIF_SUPPORT_LEVEL_UNKNOWN; 1178 return EXIF_SUPPORT_LEVEL_UNKNOWN;
1179 1179
1180 if (t >= EXIF_DATA_TYPE_COUNT) 1180 if (t >= EXIF_DATA_TYPE_COUNT)
1181 return get_support_level_any_type (tag, ifd); 1181 return get_support_level_any_type (tag, ifd);
1182 1182
1183 return get_support_level_in_ifd (tag, ifd, t); 1183 return get_support_level_in_ifd (tag, ifd, t);
1184 } 1184 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698