Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
850b3339
Commit
850b3339
authored
Dec 15, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export IsConfigIntegerType and IsConfigFloatType within libvlc
parent
6837daf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/config/config.h
src/config/config.h
+5
-0
src/config/core.c
src/config/core.c
+1
-7
No files found.
src/config/config.h
View file @
850b3339
...
...
@@ -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
*
);
...
...
src/config/core.c
View file @
850b3339
...
...
@@ -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)
*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment