mirror of https://code.videolan.org/videolan/vlc
vlc_variables: move vlc_value_t structure in vlc_variables.h
It's only referenced in that header.
This commit is contained in:
parent
44dc55e3bd
commit
041b39df69
|
@ -480,20 +480,6 @@ typedef struct addon_entry_t addon_entry_t;
|
|||
/* Update */
|
||||
typedef struct update_t update_t;
|
||||
|
||||
/**
|
||||
* VLC value structure
|
||||
*/
|
||||
typedef union
|
||||
{
|
||||
int64_t i_int;
|
||||
bool b_bool;
|
||||
float f_float;
|
||||
char * psz_string;
|
||||
void * p_address;
|
||||
struct { int32_t x; int32_t y; } coords;
|
||||
|
||||
} vlc_value_t;
|
||||
|
||||
/**
|
||||
* \defgroup errors Error codes
|
||||
* \ingroup cext
|
||||
|
|
|
@ -114,6 +114,20 @@ enum vlc_var_atomic_op {
|
|||
VLC_VAR_INTEGER_NAND,/**< Binary NAND over an integer bits field */
|
||||
};
|
||||
|
||||
/**
|
||||
* VLC value structure
|
||||
*/
|
||||
typedef union
|
||||
{
|
||||
int64_t i_int;
|
||||
bool b_bool;
|
||||
float f_float;
|
||||
char * psz_string;
|
||||
void * p_address;
|
||||
struct { int32_t x; int32_t y; } coords;
|
||||
|
||||
} vlc_value_t;
|
||||
|
||||
/*****************************************************************************
|
||||
* Variable callbacks: called when the value is modified
|
||||
*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue