Debian Codegraph @

src/dvdread/version.h.in

raw
1 /*
2 * This file is part of libdvdread
3 * Copyright (C) 2015 VideoLAN
4 *
5 * This file is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This file is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see
17 * <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef DVDREAD_VERSION_H_
21 #define DVDREAD_VERSION_H_
22
23 #define DVDREAD_VERSION_CODE(major, minor, micro) \
24 (((major) * 10000) + \
25 ((minor) * 100) + \
26 ((micro) * 1))
27
28 #define DVDREAD_VERSION_MAJOR @DVDREAD_VERSION_MAJOR@
29 #define DVDREAD_VERSION_MINOR @DVDREAD_VERSION_MINOR@
30 #define DVDREAD_VERSION_MICRO @DVDREAD_VERSION_MICRO@
31
32 #define DVDREAD_VERSION_STRING "@DVDREAD_VERSION_MAJOR@.@DVDREAD_VERSION_MINOR@.@DVDREAD_VERSION_MICRO@"
33
34 #define DVDREAD_VERSION \
35 DVDREAD_VERSION_CODE(DVDREAD_VERSION_MAJOR, DVDREAD_VERSION_MINOR, DVDREAD_VERSION_MICRO)
36
37 #endif /* DVDREAD_VERSION_H_ */