File: modulemd-deprecated.h

package info (click to toggle)
libmodulemd 2.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,180 kB
  • sloc: ansic: 37,927; python: 3,233; xml: 1,739; sh: 389; makefile: 42
file content (32 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * This file is part of libmodulemd
 * Copyright (C) 2017-2018 Stephen Gallagher
 *
 * Fedora-License-Identifier: MIT
 * SPDX-2.0-License-Identifier: MIT
 * SPDX-3.0-License-Identifier: MIT
 *
 * This program is free software.
 * For more information on the license, see COPYING.
 * For more information on free software, see <https://www.gnu.org/philosophy/free-sw.en.html>.
 */

#pragma once

#include <glib-object.h>

G_BEGIN_DECLS

#ifdef MMD_DISABLE_DEPRECATION_WARNINGS
#define MMD_DEPRECATED extern
#define MMD_DEPRECATED_FOR(f) extern
#define MMD_UNAVAILABLE(maj, min) extern
#define MMD_DEPRECATED_TYPE_FOR(f)
#else
#define MMD_DEPRECATED G_DEPRECATED extern
#define MMD_DEPRECATED_FOR(f) G_DEPRECATED_FOR (f) extern
#define MMD_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR (f)
#define MMD_UNAVAILABLE(maj, min) G_UNAVAILABLE (maj, min) extern
#endif

G_END_DECLS