Commit aece8a0c authored by Thomas Guillem's avatar Thomas Guillem Committed by Hugo Beauzée-Luyssen

actions: rename struct vlc_actions to vlc_actions_t

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent fa27e5e4
......@@ -29,9 +29,6 @@ extern const char psz_vlc_changeset[];
typedef struct variable_t variable_t;
/* Actions (hot keys) */
struct vlc_actions;
/*
* OS-specific initialization
*/
......@@ -175,6 +172,7 @@ void vlc_objres_remove(vlc_object_t *obj, void *data,
*/
typedef struct vlc_dialog_provider vlc_dialog_provider;
typedef struct vlc_keystore vlc_keystore;
typedef struct vlc_actions_t vlc_actions_t;
typedef struct libvlc_priv_t
{
......@@ -190,7 +188,7 @@ typedef struct libvlc_priv_t
vlc_keystore *p_memory_keystore; ///< memory keystore
struct playlist_t *playlist; ///< Playlist for interfaces
struct playlist_preparser_t *parser; ///< Input item meta data handler
struct vlc_actions *actions; ///< Hotkeys handler
vlc_actions_t *actions; ///< Hotkeys handler
/* Exit callback */
vlc_exit_t exit;
......
......@@ -399,7 +399,7 @@ static int keycmp (const void *a, const void *b)
return (ka->key < kb->key) ? -1 : (ka->key > kb->key) ? +1 : 0;
}
struct vlc_actions
struct vlc_actions_t
{
void *map; /* Key map */
void *global_map; /* Grabbed/global key map */
......@@ -511,7 +511,7 @@ int libvlc_InternalActionsInit (libvlc_int_t *libvlc)
vlc_object_t *obj = VLC_OBJECT(libvlc);
struct hotkey *keys;
struct vlc_actions *as = malloc (sizeof (*as) + ACTIONS_COUNT * sizeof (*keys));
vlc_actions_t *as = malloc (sizeof (*as) + ACTIONS_COUNT * sizeof (*keys));
if (unlikely(as == NULL))
return VLC_ENOMEM;
......@@ -567,7 +567,7 @@ void libvlc_InternalActionsClean (libvlc_int_t *libvlc)
{
assert(libvlc != NULL);
struct vlc_actions *as = libvlc_priv(libvlc)->actions;
vlc_actions_t *as = libvlc_priv(libvlc)->actions;
if (unlikely(as == NULL))
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment