summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-02-10 11:31:40 -0800
committerPhilip Chimento <philip@endlessm.com>2015-02-10 12:27:20 -0800
commit10243fd16cfd543df102c11c6158965d9224cc55 (patch)
treeaf5d2883e1a88671f2170bcba451178b45e03c43
parent7f40a6f73447d5b4ce2853d663b9b119233eeff5 (diff)
Introduce 0.1 unstable series
This changes the package version to 0.1 and adds versioning macros for the 0.2 stable series. [endlessm/eos-sdk#2736]
-rw-r--r--configure.ac4
-rw-r--r--docs/reference/endless/endless-sections.txt4
-rw-r--r--endless/eosversion.h17
3 files changed, 22 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 269d10c..2d4f1b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,9 +18,9 @@ m4_define([_EOS_SDK_API_VERSION_MACRO], [0])
# Minor and micro versions: increment micro version when making a release. Minor
# version is even for a stable release and odd for a development release.
# When making any release, if the API changes, set the interface age to 0.
-m4_define([_EOS_SDK_MINOR_VERSION_MACRO], [0])
+m4_define([_EOS_SDK_MINOR_VERSION_MACRO], [1])
m4_define([_EOS_SDK_MICRO_VERSION_MACRO], [0])
-m4_define([_EOS_SDK_INTERFACE_AGE_MACRO], [0])
+m4_define([_EOS_SDK_INTERFACE_AGE_MACRO], [1])
# Full version, for use in AC_INIT
m4_define([_EOS_SDK_VERSION_MACRO],
diff --git a/docs/reference/endless/endless-sections.txt b/docs/reference/endless/endless-sections.txt
index d5f2b3b..0bab0b8 100644
--- a/docs/reference/endless/endless-sections.txt
+++ b/docs/reference/endless/endless-sections.txt
@@ -4,12 +4,16 @@ eos_hello_sample_function
eos_get_system_personality
<SUBSECTION Private>
EOS_SDK_AVAILABLE_IN_0_0
+EOS_SDK_AVAILABLE_IN_0_2
EOS_SDK_DEPRECATED
EOS_SDK_DEPRECATED_FOR
EOS_SDK_DEPRECATED_IN_0_0
EOS_SDK_DEPRECATED_IN_0_0_FOR
+EOS_SDK_DEPRECATED_IN_0_2
+EOS_SDK_DEPRECATED_IN_0_2_FOR
EOS_SDK_UNAVAILABLE
EOS_SDK_VERSION_0_0
+EOS_SDK_VERSION_0_2
EOS_SDK_VERSION_CUR_STABLE
EOS_SDK_VERSION_MAX_ALLOWED
EOS_SDK_VERSION_MIN_REQUIRED
diff --git a/endless/eosversion.h b/endless/eosversion.h
index 5870c26..2541929 100644
--- a/endless/eosversion.h
+++ b/endless/eosversion.h
@@ -1,4 +1,4 @@
-/* Copyright 2013 Endless Mobile, Inc. */
+/* Copyright 2013-2015 Endless Mobile, Inc. */
#ifndef API_VERSION_H
#define API_VERSION_H
@@ -23,6 +23,7 @@
define EOS_SDK_VERSION_MIN_REQUIRED and EOS_SDK_VERSION_MAX_ALLOWED to one of
these macros. */
#define EOS_SDK_VERSION_0_0 (G_ENCODE_VERSION (0, 0))
+#define EOS_SDK_VERSION_0_2 (G_ENCODE_VERSION (0, 2))
#if (EOS_SDK_MINOR_VERSION == 99)
#define EOS_SDK_VERSION_CUR_STABLE (G_ENCODE_VERSION (EOS_SDK_MAJOR_VERSION + 1, 0))
@@ -77,4 +78,18 @@ these macros. */
# define EOS_SDK_AVAILABLE_IN_0_0
#endif
+#if EOS_SDK_VERSION_MIN_REQUIRED >= EOS_SDK_VERSION_0_2
+# define EOS_SDK_DEPRECATED_IN_0_2 EOS_SDK_DEPRECATED
+# define EOS_SDK_DEPRECATED_IN_0_2_FOR(f) EOS_SDK_DEPRECATED_FOR(f)
+#else
+# define EOS_SDK_DEPRECATED_IN_0_2
+# define EOS_SDK_DEPRECATED_IN_0_2_FOR(f)
+#endif
+
+#if EOS_SDK_VERSION_MAX_ALLOWED < EOS_SDK_VERSION_0_2
+# define EOS_SDK_AVAILABLE_IN_0_2 EOS_SDK_UNAVAILABLE(0, 0)
+#else
+# define EOS_SDK_AVAILABLE_IN_0_2
+#endif
+
#endif /* API_VERSION_H */