Changeset 850b3339e67b8b4c8c786a3215eadda5e1c08ff8
- 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
| r2d9c9ee |
r850b333 |
|
| 53 | 53 | |
|---|
| 54 | 54 | int IsConfigStringType( int type ); |
|---|
| | 55 | int IsConfigIntegerType (int type); |
|---|
| | 56 | static inline int IsConfigFloatType (int type) |
|---|
| | 57 | { |
|---|
| | 58 | return type == CONFIG_ITEM_FLOAT; |
|---|
| | 59 | } |
|---|
| 55 | 60 | |
|---|
| 56 | 61 | int ConfigStringToKey( const char * ); |
|---|
| r3b055b7 |
r850b333 |
|
| 90 | 90 | |
|---|
| 91 | 91 | |
|---|
| 92 | | static int IsConfigIntegerType (int type) |
|---|
| | 92 | int IsConfigIntegerType (int type) |
|---|
| 93 | 93 | { |
|---|
| 94 | 94 | static const unsigned char config_types[] = |
|---|
| … | … | |
| 99 | 99 | |
|---|
| 100 | 100 | 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; |
|---|
| 107 | 101 | } |
|---|
| 108 | 102 | |
|---|