/* For now, do not use these functions. */
+/*!
+ * Return the number of entries in the EXIF tag table, including the
+ * terminating NULL entry.
+ */
+inline unsigned int
+exif_tag_table_count (void)
+{
+ return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]);
+}
+
+
ExifTag
exif_tag_table_get_tag (unsigned int n)
{
}
/*!
- * Return the number of entries in the EXIF tag table, including the
- * terminating NULL entry.
- */
-unsigned int
-exif_tag_table_count (void)
-{
- return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]);
-}
-
-
-/*!
* Compares the tag with that in entry.
* \param[in] tag pointer to integer tag value
* \param[in] entry pointer to a struct TagEntry
{
int i;
struct TagEntry *entry = bsearch(&tag, ExifTagTable,
- exif_tag_table_count()-1, sizeof(struct TagEntry), match_tag);
+ exif_tag_table_count()-1, sizeof(struct TagEntry), match_tag);
if (!entry)
- return -1; /* Not found */
+ return -1; /* Not found */
/* Calculate index of found entry */
i = entry - ExifTagTable;