3.13.0-86.131
) is not available, but a newer one is (3.13.0-166.216
). We redirected you there.
/usr/include/astrometry/keywords.h is in astrometry.net 0.46-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | /*
This file is part of the Astrometry.net suite.
Copyright 2006, 2007 Dustin Lang, Keir Mierle and Sam Roweis.
The Astrometry.net suite is free software; you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, version 2.
The Astrometry.net suite is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Astrometry.net suite ; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// borrowed from http://rlove.org/log/2005102601.
#ifndef ASTROMETRY_KEYWORDS_H
#define ASTROMETRY_KEYWORDS_H
#define ATTRIB_FORMAT(style,fmt,start) __attribute__ ((format(style,fmt,start)))
// this snippet borrowed from GNU libc features.h:
#if defined __GNUC__
# define GNUC_PREREQ(maj, min) \
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
#else
# define GNUC_PREREQ(maj, min) 0
#endif
#if GNUC_PREREQ (3, 0)
// Clang masquerades as gcc but isn't compatible. Someone should file a
// lawsuit. Clang treats inlining differently; see
// http://clang.llvm.org/compatibility.html#inline
#if defined __clang__
#define InlineDeclare
#define InlineDefineH
#define InlineDefineC
#else
// plain old gcc
#define INCLUDE_INLINE_SOURCE 1
#define InlineDeclare extern inline
#define InlineDefineH extern inline
#define InlineDefineC
#endif
// See:
// http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
# define Inline inline
# define Pure __attribute__ ((pure))
# define Const __attribute__ ((const))
# define Noreturn __attribute__ ((noreturn))
# define Malloc __attribute__ ((malloc))
# define Used __attribute__ ((used))
# define Unused __attribute__ ((unused))
# define VarUnused __attribute__ ((unused))
# define Packed __attribute__ ((packed))
# define likely(x) __builtin_expect (!!(x), 1)
# define unlikely(x) __builtin_expect (!!(x), 0)
# define Noinline __attribute__ ((noinline))
// alloc_size
// new in gcc-3.1:
#if GNUC_PREREQ (3, 1)
# define Deprecated __attribute__ ((deprecated))
#else
# define Deprecated
#endif
// new in gcc-3.4:
#if GNUC_PREREQ (3, 4)
# define Must_check __attribute__ ((warn_unused_result))
# define WarnUnusedResult __attribute__ ((warn_unused_result))
#else
# define Must_check
# define WarnUnusedResult
#endif
// new in gcc-4.1:
#if GNUC_PREREQ (4, 1)
#if defined __clang__
// clang complains very loudly about this being ignored...
# define Flatten
#else
# define Flatten __attribute__ (( flatten))
#endif
#else
# define Flatten
#endif
#else
// not gnuc >= 3.0
# define Inline
# define Pure
# define Const
# define Noreturn
# define Malloc
# define Must_check
# define Deprecated
# define Used
# define Unused
# define VarUnused
# define Packed
# define likely(x) (x)
# define unlikely(x) (x)
# define Noinline
# define WarnUnusedResult
# define Flatten
#endif
#endif // ASTROMETRY_KEYWORDS_H
|