Browse Source

vlc_variables: move vlc_value_t structure in vlc_variables.h

It's only referenced in that header.
pull/162/head
Steve Lhomme 2 years ago
parent
commit
041b39df69
  1. 14
      include/vlc_common.h
  2. 14
      include/vlc_variables.h

14
include/vlc_common.h

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

14
include/vlc_variables.h

@ -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…
Cancel
Save