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
2485777c
Commit
2485777c
authored
Feb 10, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused StringToKey()
parent
5f31ecb1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
11 deletions
+0
-11
include/vlc_keys.h
include/vlc_keys.h
+0
-1
src/config/keys.c
src/config/keys.c
+0
-9
src/libvlccore.sym
src/libvlccore.sym
+0
-1
No files found.
include/vlc_keys.h
View file @
2485777c
...
...
@@ -87,7 +87,6 @@
#define KEY_MOUSEWHEELRIGHT 0x00F30000
VLC_EXPORT
(
char
*
,
KeyToString
,
(
uint_fast32_t
i_key
)
)
LIBVLC_USED
;
VLC_EXPORT
(
uint_fast32_t
,
StringToKey
,
(
char
*
psz_key
)
)
LIBVLC_USED
;
typedef
enum
vlc_key
{
ACTIONID_NONE
=
0
,
...
...
src/config/keys.c
View file @
2485777c
...
...
@@ -188,15 +188,6 @@ char *KeyToString (uint_fast32_t sym)
return
NULL
;
}
uint_fast32_t
StringToKey
(
char
*
name
)
{
for
(
size_t
i
=
0
;
i
<
vlc_num_keys
;
i
++
)
if
(
!
strcmp
(
vlc_keys
[
i
].
psz_key_string
,
name
))
return
vlc_keys
[
i
].
i_key_code
;
return
cp_utf8
(
name
);
}
uint_fast32_t
ConfigStringToKey
(
const
char
*
name
)
{
uint_fast32_t
mods
=
0
;
...
...
src/libvlccore.sym
View file @
2485777c
...
...
@@ -680,4 +680,3 @@ xml_ReaderCreate
xml_ReaderDelete
xml_ReaderReset
KeyToString
StringToKey
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