3 * \brief contains version information
5 * Copyright (C) 2010 Ushodaya Enterprises Limited
6 * \author Jonathan Thomas <Jonathan.Oomph@gmail.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef _MLT_VERSION_H_
24 #define _MLT_VERSION_H_
26 // Add quotes around any #define variables
27 #define STRINGIZE2(s) #s
28 #define STRINGIZE(s) STRINGIZE2(s)
30 #define LIBMLT_VERSION_MAJOR 0
31 #define LIBMLT_VERSION_MINOR 7
32 #define LIBMLT_VERSION_REVISION 5
33 #define LIBMLT_VERSION_INT ((LIBMLT_VERSION_MAJOR<<16)+(LIBMLT_VERSION_MINOR<<8)+LIBMLT_VERSION_REVISION)
34 #define LIBMLT_VERSION STRINGIZE(LIBMLT_VERSION_MAJOR.LIBMLT_VERSION_MINOR.LIBMLT_VERSION_REVISION)
36 extern int mlt_version_get_int( );
37 extern int mlt_version_get_major( );
38 extern int mlt_version_get_minor( );
39 extern int mlt_version_get_revision( );
40 extern char *mlt_version_get_string( );