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

Side by Side Diff: libexif/sources/libexif/exif-byte-order.c

Issue 10535156: Add libexif to deps/third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 6 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 | « libexif/sources/libexif/exif-byte-order.h ('k') | libexif/sources/libexif/exif-content.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /* exif-byte-order.c
2 *
3 * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 */
20
21 #include <config.h>
22
23 #include <libexif/exif-byte-order.h>
24 #include <libexif/i18n.h>
25
26 #include <stdlib.h>
27
28 const char *
29 exif_byte_order_get_name (ExifByteOrder order)
30 {
31 switch (order) {
32 case EXIF_BYTE_ORDER_MOTOROLA:
33 return (_("Motorola"));
34 case EXIF_BYTE_ORDER_INTEL:
35 return (_("Intel"));
36 default:
37 return NULL;
38 }
39 }
OLDNEW
« no previous file with comments | « libexif/sources/libexif/exif-byte-order.h ('k') | libexif/sources/libexif/exif-content.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698