/src/libxmlb/src/xb-version.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright 2024 Richard Hughes <richard@hughsie.com> |
3 | | * |
4 | | * SPDX-License-Identifier: LGPL-2.1-or-later |
5 | | */ |
6 | | |
7 | | #include "config.h" |
8 | | |
9 | | #include "xb-version.h" |
10 | | |
11 | | /** |
12 | | * xb_version_string: |
13 | | * |
14 | | * Gets the XMLb installed runtime version. |
15 | | * |
16 | | * Returns: a version number, e.g. "0.3.19" |
17 | | * |
18 | | * Since: 0.3.19 |
19 | | **/ |
20 | | const gchar * |
21 | | xb_version_string(void) |
22 | 0 | { |
23 | 0 | return G_STRINGIFY(XMLB_MAJOR_VERSION) "." G_STRINGIFY(XMLB_MINOR_VERSION) "." G_STRINGIFY( |
24 | 0 | XMLB_MICRO_VERSION); |
25 | 0 | } |