Commit 850b3339 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

export IsConfigIntegerType and IsConfigFloatType within libvlc

parent 6837daf3
......@@ -52,6 +52,11 @@ char *config_GetCustomConfigFile( libvlc_int_t * );
int __config_LoadConfigFile( vlc_object_t *, const char * );
int IsConfigStringType( int type );
int IsConfigIntegerType (int type);
static inline int IsConfigFloatType (int type)
{
return type == CONFIG_ITEM_FLOAT;
}
int ConfigStringToKey( const char * );
......
......@@ -89,7 +89,7 @@ int IsConfigStringType (int type)
}
static int IsConfigIntegerType (int type)
int IsConfigIntegerType (int type)
{
static const unsigned char config_types[] =
{
......@@ -101,12 +101,6 @@ static int IsConfigIntegerType (int type)
}
static inline int IsConfigFloatType (int type)
{
return type == CONFIG_ITEM_FLOAT;
}
/*****************************************************************************
* config_GetType: get the type of a variable (bool, int, float, string)
*****************************************************************************
......
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