]> git.sesse.net Git - movit/commitdiff
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 53eb6ffc1611a404a632cc6b68a3c9bd0c5f98eb..a08005acdbe5c37620e617ab97832fd54ad25645 100644 (file)
@@ -161,7 +161,7 @@ coverage:
        @exit 1
 endif
 
        @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)
 
 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)