From 041b39df69106a03dcf6d9feb7f74f213528ed01 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Fri, 1 Dec 2023 15:36:39 +0100 Subject: [PATCH] vlc_variables: move vlc_value_t structure in vlc_variables.h It's only referenced in that header. --- include/vlc_common.h | 14 -------------- include/vlc_variables.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index e3c492101f..f253b47706 100644 --- a/include/vlc_common.h +++ b/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 diff --git a/include/vlc_variables.h b/include/vlc_variables.h index 65eb1a0df2..acfc632ef7 100644 --- a/include/vlc_variables.h +++ b/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 *****************************************************************************/