/******************************************************************************/
/*!
    Copyright 2012 Electronic Arts Inc.

    \file       version.h

    \brief      Provides macros for obtaining the package version
*/
/******************************************************************************/

#ifndef EABASETYPESLUA_VERSION_H
#define EABASETYPESLUA_VERSION_H

// Each version segment should fit into a single unsigned byte (0-255)
#define EABASETYPESLUA_VERSION_MAJOR 1
#define EABASETYPESLUA_VERSION_MAJOR_REVISION 5
#define EABASETYPESLUA_VERSION_MINOR 1
#define EABASETYPESLUA_VERSION_MINOR_REVISION 0

#define EABASETYPESLUA_VERSION (((EABASETYPESLUA_VERSION_MAJOR & 0xff) << 24) | ((EABASETYPESLUA_VERSION_MAJOR_REVISION & 0xff) << 16) | ((EABASETYPESLUA_VERSION_MINOR & 0xff) << 8) | (EABASETYPESLUA_VERSION_MINOR_REVISION & 0xff))

#define EABASETYPESLUA_VERSION_AT_LEAST(major, majorRev, minor, minorRev) (EABASETYPESLUA_VERSION >= ((major << 24) | (majorRev << 16) | (minor << 8) | minorRev))

#endif /* EABASETYPESLUA_VERSION_H */

