version.h
Go to the documentation of this file.
1 
24 #ifndef _PURPLE_VERSION_H_
25 #define _PURPLE_VERSION_H_
26 
28 #define PURPLE_MAJOR_VERSION (2)
29 
30 #define PURPLE_MINOR_VERSION (10)
31 
32 #define PURPLE_MICRO_VERSION (9)
33 
34 #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \
35  ((y) < PURPLE_MINOR_VERSION || \
36  ((y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION)))
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
53 const char *purple_version_check(guint required_major, guint required_minor, guint required_micro);
54 
62 extern const guint purple_major_version;
63 
71 extern const guint purple_minor_version;
72 
81 extern const guint purple_micro_version;
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 #endif /* _PURPLE_VERSION_H_ */
88