vlc_variables: move vlc_value_t structure in vlc_variables.h

It's only referenced in that header.
This commit is contained in:
Steve Lhomme 2023-12-01 15:36:39 +01:00
parent 44dc55e3bd
commit 041b39df69
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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
*****************************************************************************/