Commit 5f62f401 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused change_float_list

We should decide whether to use float or double before we bring it
back, if needed. In the mean time, it's best to remove the macro, as
the back-end did and still does not work.
parent f1590d98
...@@ -411,13 +411,6 @@ enum vlc_module_properties ...@@ -411,13 +411,6 @@ enum vlc_module_properties
(const char *const *)(list_text), \ (const char *const *)(list_text), \
(vlc_callback_t)(list_update_func)); (vlc_callback_t)(list_update_func));
#define change_float_list( list, list_text, list_update_func ) \
vlc_config_set (p_config, VLC_CONFIG_LIST, domain, \
(size_t)(sizeof (list) / sizeof (float)), \
(const float *)(list), \
(const char *const *)(list_text), \
(vlc_callback_t)(list_update_func));
#define change_integer_range( minv, maxv ) \ #define change_integer_range( minv, maxv ) \
vlc_config_set (p_config, VLC_CONFIG_RANGE, (int)(minv), (int)(maxv)); vlc_config_set (p_config, VLC_CONFIG_RANGE, (int)(minv), (int)(maxv));
......
...@@ -386,21 +386,6 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...) ...@@ -386,21 +386,6 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
item->pi_list = dst; item->pi_list = dst;
} }
else else
#if 0
if (IsConfigFloatType (item->i_type))
{
const float *src = va_arg (ap, const float *);
float *dst = malloc (sizeof (float) * (len + 1));
if (dst != NULL)
{
memcpy (dst, src, sizeof (float) * len);
dst[len] = 0.;
}
item->pf_list = dst;
}
else
#endif
if (IsConfigStringType (item->i_type)) if (IsConfigStringType (item->i_type))
{ {
const char *const *src = va_arg (ap, const char *const *); const char *const *src = va_arg (ap, const char *const *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment