Commit e2e82bd1 authored by Sam Hocevar's avatar Sam Hocevar

* ./include/modules_inner.h: the module name is now a default shortcut, for

    it, no need to manually add it.
parent 9485b530
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module. * modules_inner.h : Macros used from within a module.
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.16 2002/04/24 00:36:24 sam Exp $ * $Id: modules_inner.h,v 1.17 2002/04/28 17:52:37 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -79,11 +79,12 @@ ...@@ -79,11 +79,12 @@
DECLARE_SYMBOLS; \ DECLARE_SYMBOLS; \
int __VLC_SYMBOL( InitModule ) ( module_t *p_module ) \ int __VLC_SYMBOL( InitModule ) ( module_t *p_module ) \
{ \ { \
int i_shortcut = 0; \ int i_shortcut = 1; \
struct module_config_s* p_item; \ struct module_config_s* p_item; \
p_module->psz_name = MODULE_STRING; \ p_module->psz_name = MODULE_STRING; \
p_module->psz_longname = MODULE_STRING; \ p_module->psz_longname = MODULE_STRING; \
p_module->psz_program = NULL; \ p_module->psz_program = NULL; \
p_module->pp_shortcuts[ 0 ] = MODULE_STRING; \
p_module->i_capabilities = 0; \ p_module->i_capabilities = 0; \
p_module->i_cpu_capabilities = 0; p_module->i_cpu_capabilities = 0;
......
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