EBOOK-TOOLS: src/libepub/epub_version.h Source File

# epub_version.h

Go to the documentation of this file.

    00001 #ifndef _LIBEPUB_VERSION_H_
    00002 #define _LIBEPUB_VERSION_H_
    00003
    00004 #define LIBEPUB_VERSION_STRING "0.2.1"
    00005 #define LIBEPUB_VERSION_MAJOR 0
    00006 #define LIBEPUB_VERSION_MINOR 2
    00007 #define LIBEPUB_VERSION_RELEASE 1
    00008 #define LIBEPUB_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
    00009
    00010 #define LIBEPUB_VERSION \
    00011   LIBEPUB_MAKE_VERSION(LIBEPUB_VERSION_MAJOR,LIBEPUB_VERSION_MINOR,LIBEPUB_VERSION_RELEASE)
    00012
    00013 #define LIBEPUB_IS_VERSION(a,b,c) ( LIBEPUB_VERSION >= LIBEPUB_MAKE_VERSION(a,b,c) )
    00014
    00015 #endif