add SUPERFEMTO_API_VERSION macros to header files v2.4

This commit is contained in:
Harald Welte 2012-07-22 22:48:26 +02:00
parent f7779df33c
commit 997a9439c8
1 changed files with 4 additions and 0 deletions

View File

@ -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" {