Debian Codegraph @

texk/xdvipsk/thirdparty/libtiff/test/test_arrays.h

raw
1 /*
2 * Copyright (c) 2004, Andrey Kiselev <[email protected]>
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and
5 * its documentation for any purpose is hereby granted without fee, provided
6 * that (i) the above copyright notices and this permission notice appear in
7 * all copies of the software and related documentation, and (ii) the names of
8 * Sam Leffler and Silicon Graphics may not be used in any advertising or
9 * publicity relating to the software without the specific, prior written
10 * permission of Sam Leffler and Silicon Graphics.
11 *
12 * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
13 * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
14 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
15 *
16 * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
17 * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
18 * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19 * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
20 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
21 * OF THIS SOFTWARE.
22 */
23
24 /*
25 * TIFF Library
26 *
27 * Few declarations for the test numerical arrays.
28 */
29
30 #ifndef _TEST_ARRAYS_
31 #define _TEST_ARRAYS_
32
33 #include <stddef.h>
34
35 #define XSIZE 37
36 #define YSIZE 23
37
38 extern const unsigned char byte_array1[];
39 extern const size_t byte_array1_size;
40
41 extern const unsigned char byte_array2[];
42 extern const size_t byte_array2_size;
43
44 extern const unsigned char byte_array3[];
45 extern const size_t byte_array3_size;
46
47 extern const float array_float1[];
48 extern const size_t array_float1_size;
49
50 extern const float array_float2[];
51 extern const size_t array_float2_size;
52
53 extern const double array_double1[];
54 extern const size_t array_double1_size;
55
56 extern const double array_double2[];
57 extern const size_t array_double2_size;
58
59 #endif /* _TEST_ARRAYS_ */