Commit 75aacfd1 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add explanation comment to ABIVERSION define

parent 08552fef
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -42,6 +42,12 @@ extern "C" {
  int latte_abiversion();
}

// the ABIVERSION number here must be kept consistent
// with its counterpart in the LATTE library and the
// prototype above. We want to catch mismatches with
// a meaningful error messages, as they can cause
// difficult to debug crashes or memory corruption.

#define ABIVERSION 20180622
#define INVOKED_PERATOM 8