From 997a9439c8209d4b134c1fdbd2820c956f1cfe43 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 22 Jul 2012 22:48:26 +0200 Subject: [PATCH] add SUPERFEMTO_API_VERSION macros to header files v2.4 --- api/superfemto.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/superfemto.h b/api/superfemto.h index 51e2e21..f9d6fa0 100644 --- a/api/superfemto.h +++ b/api/superfemto.h @@ -1,5 +1,9 @@ #ifndef SUPERFEMTO_H__ #define SUPERFEMTO_H__ + +#define SUPEEFEMTO_API(x,y,z) ((x << 16) | (y << 8) | z) +#define SUPERFEMTO_API_VERSION SUPERFEMTO_API(2,4,0) + #ifdef __cplusplus extern "C" {