]> git.sesse.net Git - vlc/commitdiff
export IsConfigIntegerType and IsConfigFloatType within libvlc
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Dec 2007 21:50:37 +0000 (21:50 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Dec 2007 21:50:37 +0000 (21:50 +0000)
src/config/config.h
src/config/core.c

index 84c8ba5f6191b8f708b9eaf90f5fa0992ddebd9e..9e5b6d5e03ff1112b59e30e556824a5305af4ef4 100644 (file)
@@ -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 * );
 
index 2edc59a7da0ee0911695292498384655ea067cdb..d2d2bba77402c0a921605cbc88330e9eb1509532 100644 (file)
@@ -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)
  *****************************************************************************