Changeset 850b3339e67b8b4c8c786a3215eadda5e1c08ff8

Show
Ignore:
Timestamp:
15/12/07 22:50:37 (10 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1197755437 +0000
git-parent:

[6837daf33dee17c0885820f21107757218501885]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1197755437 +0000
Message:

export IsConfigIntegerType? and IsConfigFloatType? within libvlc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/config/config.h

    r2d9c9ee r850b333  
    5353 
    5454int IsConfigStringType( int type ); 
     55int IsConfigIntegerType (int type); 
     56static inline int IsConfigFloatType (int type) 
     57{ 
     58    return type == CONFIG_ITEM_FLOAT; 
     59} 
    5560 
    5661int ConfigStringToKey( const char * ); 
  • src/config/core.c

    r3b055b7 r850b333  
    9090 
    9191 
    92 static int IsConfigIntegerType (int type) 
     92int IsConfigIntegerType (int type) 
    9393{ 
    9494    static const unsigned char config_types[] = 
     
    9999 
    100100    return memchr (config_types, type, sizeof (config_types)) != NULL; 
    101 } 
    102  
    103  
    104 static inline int IsConfigFloatType (int type) 
    105 { 
    106     return type == CONFIG_ITEM_FLOAT; 
    107101} 
    108102