summaryrefslogtreecommitdiffhomepage
path: root/ir/common
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-01-07 09:34:16 +0100
committerMatthias Braun <matze@braunis.de>2016-01-07 09:34:16 +0100
commitd6b21ab59f2fe8e8cb4cd1b50b0254d6a8c1cbb3 (patch)
tree2212e2cb4e8ddea2ec8bd4843a3808b2f17f84f7 /ir/common
parenta37a0e59b0a47b969d6d2c7c7260df8a8ff6d166 (diff)
Add a function to return the libfirm micro version number
Diffstat (limited to 'ir/common')
-rw-r--r--ir/common/firm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/common/firm.c b/ir/common/firm.c
index e86b97d..eb2c7d1 100644
--- a/ir/common/firm.c
+++ b/ir/common/firm.c
@@ -102,6 +102,11 @@ unsigned ir_get_version_minor(void)
return libfirm_VERSION_MINOR;
}
+unsigned ir_get_version_micro(void)
+{
+ return libfirm_VERSION_MICRO;
+}
+
const char *ir_get_version_revision(void)
{
#ifdef libfirm_VERSION_REVISION