From 5235f87126cc2bca3907daada9f59e0c7c7bc834 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 20 Jan 2015 13:45:17 +0100 Subject: PHP-CPP now checks whether an already compiled extension is still compatible with the PHP-CPP library. This prevents weird crashes when users update their PHP-CPP library, without recompiling their extensions --- include/version.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/version.h (limited to 'include/version.h') diff --git a/include/version.h b/include/version.h new file mode 100644 index 0000000..85d2b66 --- /dev/null +++ b/include/version.h @@ -0,0 +1,17 @@ +/** + * Version.h + * + * Macro with API version. The API version number prevents that + * extensions are loaded that are incompatible with the libphpcpp.so + * library + * + * @author Emiel Bruijntjes + * @copyright 2015 Copernica BV + */ + +/** + * Macro with version number (this is incremented with every release) + */ +#define PHPCPP_API_VERSION 20150120 + + -- cgit v1.2.3