X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_configuration.h;h=c2c544a22af89bd462a499ca3ff06b5a4bc0f2d4;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=e66f6a9d480476ff7ed33627bf997c0aa08509e5;hpb=9e90c99a3b9c33bdf34fa712969f411d1fa7934d;p=vlc diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index e66f6a9d48..c2c544a22a 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -137,16 +137,10 @@ struct config_category_t typedef union { char *psz; - int i; + int64_t i; float f; } module_value_t; -typedef union -{ - int i; - float f; -} module_nvalue_t; - struct module_config_t { char *psz_type; /* Configuration subtype */ @@ -156,8 +150,8 @@ struct module_config_t module_value_t value; /* Option value */ module_value_t orig; module_value_t saved; - module_nvalue_t min; - module_nvalue_t max; + module_value_t min; + module_value_t max; /* Function to call when commiting a change */ vlc_callback_t pf_callback; @@ -199,8 +193,8 @@ struct module_config_t * data. *****************************************************************************/ VLC_EXPORT( int, config_GetType, (vlc_object_t *, const char *) LIBVLC_USED ); -VLC_EXPORT( int, config_GetInt, (vlc_object_t *, const char *) LIBVLC_USED ); -VLC_EXPORT( void, config_PutInt, (vlc_object_t *, const char *, int) ); +VLC_EXPORT( int64_t, config_GetInt, (vlc_object_t *, const char *) LIBVLC_USED ); +VLC_EXPORT( void, config_PutInt, (vlc_object_t *, const char *, int64_t) ); VLC_EXPORT( float, config_GetFloat, (vlc_object_t *, const char *) LIBVLC_USED ); VLC_EXPORT( void, config_PutFloat, (vlc_object_t *, const char *, float) ); VLC_EXPORT( char *, config_GetPsz, (vlc_object_t *, const char *) LIBVLC_USED );