Imported Debian version 1.0~trusty
[deb_vid.stab.git] / tests / orc_bug / orc_bug_orc.h
CommitLineData
80f575fc
DM
1
2/* autogenerated from orc_bug_orc.orc */
3
4#ifndef _ORC_BUG_ORC_H_
5#define _ORC_BUG_ORC_H_
6
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
13
14#ifndef _ORC_INTEGER_TYPEDEFS_
15#define _ORC_INTEGER_TYPEDEFS_
16#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
17#include <stdint.h>
18typedef int8_t orc_int8;
19typedef int16_t orc_int16;
20typedef int32_t orc_int32;
21typedef int64_t orc_int64;
22typedef uint8_t orc_uint8;
23typedef uint16_t orc_uint16;
24typedef uint32_t orc_uint32;
25typedef uint64_t orc_uint64;
26#define ORC_UINT64_C(x) UINT64_C(x)
27#elif defined(_MSC_VER)
28typedef signed __int8 orc_int8;
29typedef signed __int16 orc_int16;
30typedef signed __int32 orc_int32;
31typedef signed __int64 orc_int64;
32typedef unsigned __int8 orc_uint8;
33typedef unsigned __int16 orc_uint16;
34typedef unsigned __int32 orc_uint32;
35typedef unsigned __int64 orc_uint64;
36#define ORC_UINT64_C(x) (x##Ui64)
37#define inline __inline
38#else
39#include <limits.h>
40typedef signed char orc_int8;
41typedef short orc_int16;
42typedef int orc_int32;
43typedef unsigned char orc_uint8;
44typedef unsigned short orc_uint16;
45typedef unsigned int orc_uint32;
46#if INT_MAX == LONG_MAX
47typedef long long orc_int64;
48typedef unsigned long long orc_uint64;
49#define ORC_UINT64_C(x) (x##ULL)
50#else
51typedef long orc_int64;
52typedef unsigned long orc_uint64;
53#define ORC_UINT64_C(x) (x##UL)
54#endif
55#endif
56typedef union { orc_int16 i; orc_int8 x2[2]; } orc_union16;
57typedef union { orc_int32 i; float f; orc_int16 x2[2]; orc_int8 x4[4]; } orc_union32;
58typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16 x4[4]; } orc_union64;
59#endif
60#ifndef ORC_RESTRICT
61#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
62#define ORC_RESTRICT restrict
63#elif defined(__GNUC__) && __GNUC__ >= 4
64#define ORC_RESTRICT __restrict__
65#else
66#define ORC_RESTRICT
67#endif
68#endif
69void test_orc (orc_int32 * ORC_RESTRICT d1, orc_int32 * ORC_RESTRICT d2, const orc_int32 * ORC_RESTRICT s1, int p1, int p2, int p3, int p4, int p5, int p6, int n);
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
76