Thu Nov 9 20:27:47 2006 John Ellis <johne@verizon.net>
authorJohn Ellis <johne@verizon.net>
Fri, 10 Nov 2006 01:30:45 +0000 (01:30 +0000)
committerJohn Ellis <johne@verizon.net>
Fri, 10 Nov 2006 01:30:45 +0000 (01:30 +0000)
        * exif.[ch]: Rename exif_byte_swab..() to exif_byte_put..() as that is
        more in line with their counterparts of exif_byte_get..()

ChangeLog
src/exif.c
src/exif.h

index 083cc5e..8d55cf3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov  9 20:27:47 2006  John Ellis  <johne@verizon.net>
+
+       * exif.[ch]: Rename exif_byte_swab..() to exif_byte_put..() as that is
+       more in line with their counterparts of exif_byte_get..()
+
 Thu Nov  9 17:43:06 2006  John Ellis  <johne@verizon.net>
 
        * pan-view.c: Break this monstrosity of code into smaller files.
index 54b3b81..e95314d 100644 (file)
@@ -600,7 +600,7 @@ guint32 exif_byte_get_int32(unsigned char *f, ExifByteOrder bo)
                return GUINT32_FROM_BE(*(guint32*)f);
 }
 
-guint16 exif_byte_swab_int16(guint16 n, ExifByteOrder bo)
+guint16 exif_byte_put_int16(guint16 n, ExifByteOrder bo)
 {
 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
        if (bo == EXIF_BYTE_ORDER_MOTOROLA)
@@ -612,7 +612,7 @@ guint16 exif_byte_swab_int16(guint16 n, ExifByteOrder bo)
                return n;
 }
 
-guint32 exif_byte_swab_int32(guint32 n, ExifByteOrder bo)
+guint32 exif_byte_put_int32(guint32 n, ExifByteOrder bo)
 {
 #if G_BYTE_ORDER == G_LITTLE_ENDIAN
        if (bo == EXIF_BYTE_ORDER_MOTOROLA)
index f8783df..228e487 100644 (file)
@@ -213,8 +213,8 @@ void exif_write_data_list(ExifData *exif, FILE *f, gint human_readable_list);
 
 guint16 exif_byte_get_int16(unsigned char *f, ExifByteOrder bo);
 guint32 exif_byte_get_int32(unsigned char *f, ExifByteOrder bo);
-guint16 exif_byte_swab_int16(guint16 n, ExifByteOrder bo);
-guint32 exif_byte_swab_int32(guint32 n, ExifByteOrder bo);
+guint16 exif_byte_put_int16(guint16 n, ExifByteOrder bo);
+guint32 exif_byte_put_int32(guint32 n, ExifByteOrder bo);
 
 ExifItem *exif_item_new(ExifFormatType format, guint tag,
                        guint elements, const ExifMarker *marker);