Add a version header file to help clients that need to relate to multiple versions...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Sep 2015 10:09:08 +0000 (12:09 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Sep 2015 10:09:08 +0000 (12:09 +0200)
Makefile.in
version.h [new file with mode: 0644]

index 53eb6ff..a08005a 100644 (file)
@@ -161,7 +161,7 @@ coverage:
        @exit 1
 endif
 
-HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h resource_pool.h fp16.h ycbcr.h
+HDRS = effect_chain.h effect_util.h effect.h input.h image_format.h init.h util.h defs.h resource_pool.h fp16.h ycbcr.h version.h
 HDRS += $(INPUTS:=.h)
 HDRS += $(EFFECTS:=.h)
 
diff --git a/version.h b/version.h
new file mode 100644 (file)
index 0000000..a4b3683
--- /dev/null
+++ b/version.h
@@ -0,0 +1,10 @@
+#ifndef _MOVIT_VERSION_H
+#define _MOVIT_VERSION_H 1
+
+// A number that will increase every time the visible user API
+// changes, even within git versions. There is no specific version
+// documentation outside the regular changelogs, though.
+
+#define MOVIT_VERSION 1
+
+#endif // !defined(_MOVIT_VERSION_H)