[cogl] cogl-version: Fix the 'since' tags in the documentation
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] cogl-version: Fix the 'since' tags in the documentation
- Date: Mon, 3 Sep 2012 14:46:57 +0000 (UTC)
commit e9473b58b80a06d3be34a4b518aade190ed9b666
Author: Neil Roberts <neil linux intel com>
Date: Mon Sep 3 15:42:21 2012 +0100
cogl-version: Fix the 'since' tags in the documentation
The COGL_VERSION_* macros will also be in Cogl 1.12.0.
cogl/cogl-version.h | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/cogl/cogl-version.h b/cogl/cogl-version.h
index ca1177f..943c02d 100644
--- a/cogl/cogl-version.h
+++ b/cogl/cogl-version.h
@@ -33,7 +33,7 @@
* Cogl offers a set of macros for checking the version of the library
* at compile time.
*
- * Since: 2.0
+ * Since: 1.12.0
*/
/**
@@ -41,7 +41,7 @@
*
* The major version of the Cogl library (1, if %COGL_VERSION is 1.2.3)
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_MAJOR COGL_VERSION_MAJOR_INTERNAL
@@ -50,7 +50,7 @@
*
* The minor version of the Cogl library (2, if %COGL_VERSION is 1.2.3)
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_MINOR COGL_VERSION_MINOR_INTERNAL
@@ -59,7 +59,7 @@
*
* The micro version of the Cogl library (3, if %COGL_VERSION is 1.2.3)
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_MICRO COGL_VERSION_MICRO_INTERNAL
@@ -69,7 +69,7 @@
* The full version of the Cogl library, in string form (suited for
* string concatenation)
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_STRING COGL_VERSION_STRING_INTERNAL
@@ -87,7 +87,7 @@
* COGL_VERSION_ENCODE() macro. This can be used for quick comparisons
* with particular versions.
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION \
COGL_VERSION_ENCODE (COGL_VERSION_MAJOR, \
@@ -112,7 +112,7 @@
* #endif
* ]|
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_ENCODE(major, minor, micro) \
(((major) << (COGL_VERSION_COMPONENT_BITS * 2)) | \
@@ -125,7 +125,7 @@
*
* Extracts the major part of an encoded version number.
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_GET_MAJOR(version) \
(((version) >> (COGL_VERSION_COMPONENT_BITS * 2)) \
@@ -137,7 +137,7 @@
*
* Extracts the minor part of an encoded version number.
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_GET_MINOR(version) \
(((version) >> COGL_VERSION_COMPONENT_BITS) & \
@@ -149,7 +149,7 @@
*
* Extracts the micro part of an encoded version number.
*
- * Since: 2.0
+ * Since: 1.12.0
*/
#define COGL_VERSION_GET_MICRO(version) \
((version) & COGL_VERSION_MAX_COMPONENT_VALUE)
@@ -177,6 +177,7 @@
*
* Return value: %TRUE if the Cogl version being compiled against is
* greater than or equal to the given three part version number.
+ * Since: 1.12.0
*/
#define COGL_VERSION_CHECK(major, minor, micro) \
(COGL_VERSION >= COGL_VERSION_ENCODE (major, minor, micro))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]