From 0df63ebb6d5c67be253bfa77ef3960c221ed9d44 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 13 Sep 2015 12:09:08 +0200 Subject: [PATCH] Add a version header file to help clients that need to relate to multiple versions of Movit. --- Makefile.in | 2 +- version.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 version.h diff --git a/Makefile.in b/Makefile.in index 53eb6ff..a08005a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 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) -- 2.39.2