summaryrefslogtreecommitdiff
path: root/nice/nice.h
diff options
context:
space:
mode:
Diffstat (limited to 'nice/nice.h')
-rw-r--r--nice/nice.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/nice/nice.h b/nice/nice.h
index 74a7e74..edad400 100644
--- a/nice/nice.h
+++ b/nice/nice.h
@@ -41,6 +41,18 @@
#include "nice-version.h"
+/**
+ * NICE_CHECK_VERSION:
+ * @major: The major numbe of the version
+ * @minor: The major numbe of the version
+ * @micro: The major numbe of the version
+ *
+ * Macro that returns TRUE if the version if libnice that you are compiling
+ * against is greater or equal to the argument
+ *
+ * Since: 0.1.20
+ */
+
#define NICE_CHECK_VERSION(major, minor, micro) \
(NICE_VERSION_MAJOR > (major) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \