XMMS2
xmmsv_deprecated.h
Go to the documentation of this file.
1/* XMMS2 - X Music Multiplexer System
2 * Copyright (C) 2003-2011 XMMS2 Team
3 *
4 * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 */
16
17
18#ifndef __XMMSV_DEPRECATED_H__
19#define __XMMSV_DEPRECATED_H__
20
21#include "xmmsc/xmmsv_general.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/**
28 * @defgroup DeprecatedValueType Deprecated
29 * @ingroup ValueType
30 * @{
31 */
32
33/** @deprecated */
34static inline xmmsv_type_t XMMSV_TYPE_UINT32_IS_DEPRECATED(void) XMMS_DEPRECATED;
35static inline xmmsv_type_t
36XMMSV_TYPE_UINT32_IS_DEPRECATED (void)
37{
38 return XMMSV_TYPE_INT32;
39}
40#define XMMSV_TYPE_UINT32 XMMSV_TYPE_UINT32_IS_DEPRECATED()
41
42/** @deprecated */
44/** @deprecated */
46
47/** @deprecated */
48const char * xmmsv_get_error_old (const xmmsv_t *val) XMMS_DEPRECATED;
49/** @deprecated */
50int xmmsv_get_uint (const xmmsv_t *val, uint32_t *r) XMMS_DEPRECATED;
51
52/** @} */
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif
const char * xmmsv_get_error_old(const xmmsv_t *val) XMMS_DEPRECATED
Legacy alias to retrieve the error string from an xmmsv_t.
Definition: value.c:462
int xmmsv_get_uint(const xmmsv_t *val, uint32_t *r) XMMS_DEPRECATED
Retrieves a unsigned integer from the value.
Definition: value.c:842
int xmmsv_is_dict(const xmmsv_t *val) XMMS_DEPRECATED
Check if the value stores a dict.
Definition: value.c:449
int xmmsv_is_list(const xmmsv_t *val) XMMS_DEPRECATED
Check if the value stores a list.
Definition: value.c:437
struct xmmsv_St xmmsv_t
Definition: xmmsv_general.h:48
xmmsv_type_t
Definition: xmmsv_general.h:35
@ XMMSV_TYPE_INT32
Definition: xmmsv_general.h:38
#define XMMS_DEPRECATED