File: config.h

package info (click to toggle)
glyr 1.0.6+git20140423-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,724 kB
  • ctags: 1,275
  • sloc: ansic: 13,062; python: 1,052; ruby: 75; makefile: 15
file content (43 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download
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
/**
 * SECTION:config
 * @short_description: Compiletime Information
 * @title: Config 
 * @section_id:
 * @stability: Stable
 * @include: glyr/config.h
 *
 * Misc. version checking macros and other defines
 * that may vary between builds.
 */

#define GLYR_VERSION_MAJOR "1"
#define GLYR_VERSION_MINOR "0"
#define GLYR_VERSION_MICRO "6"

#define GLYR_VERSION_MAJOR_INT 1
#define GLYR_VERSION_MINOR_INT 0
#define GLYR_VERSION_MICRO_INT 6

/**
 * GLYR_CHECK_VERSION:
 * @X: Macro version.
 * @Y: Mino version.
 * @Z: Micro version,
 *
 * Version to check glyr's version.
 * Example:
 * <informalexample>
 * <programlisting>
 * #if GLYR_CHECK_VERSION(0,8,7)
 *      puts("Version is at least 0.87!");
 * #endif
 * </programlisting>
 * </informalexample>
*/
#define GLYR_CHECK_VERSION(X,Y,Z) (X <= GLYR_VERSION_MAJOR_INT || Y <= GLYR_VERSION_MINOR_INT || Z <= GLYR_VERSION_MICRO_INT)

#define GLYR_VERSION_NAME  "Raving Raven"
#define GLYR_DEBUG         FALSE

/* Message output */
#define GLYR_OUTPUT stderr