Added a basic core/skin interface versioning system. Each skin must use the
macro VG_DETERMINE_INTERFACE_VERSION exactly once. If the X.Y core and skin
versions don't have a matching X (indicating binary incompatibility), Valgrind
will abort execution immediately at startup.
I even documented it in the skins guide!
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1279 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/none/nl_main.c b/none/nl_main.c
index 3bd6320..609e6e3 100644
--- a/none/nl_main.c
+++ b/none/nl_main.c
@@ -30,6 +30,7 @@
#include "vg_skin.h"
+VG_DETERMINE_INTERFACE_VERSION
void SK_(pre_clo_init)(VgDetails* details, VgNeeds* not_used1,
VgTrackEvents* not_used2)