Changeset 6433e0e9d04c6218ba2ea3e213b2dfe10286a217

Show
Ignore:
Timestamp:
05/08/08 18:26:30 (2 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1210263990 +0300
git-parent:

[0669643b1c7370abeda3799588825d46527f5897]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1210263990 +0300
Message:

Don't redefine MODULE_STRING

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_plugin.h

    r0669643 r6433e0e  
    4444/* Explanation: 
    4545 * 
    46  * if user has #defined MODULE_NAME foo, then we will need: 
    47  * #define MODULE_STRING "foo" 
    48  * 
    49  * and, if HAVE_DYNAMIC_PLUGINS is NOT set, we will also need: 
     46 * if HAVE_DYNAMIC_PLUGINS is NOT set, we will need: 
    5047 * #define MODULE_FUNC( zog ) module_foo_zog 
    5148 * 
     
    5350 */ 
    5451 
    55 /* I can't believe I need to do this to change « foo » to « "foo" » */ 
    56 #define STRINGIFY( z )   UGLY_KLUDGE( z ) 
    57 #define UGLY_KLUDGE( z ) #z 
    58 /* And I need to do _this_ to change « foo bar » to « module_foo_bar » ! */ 
     52/* I need to do _this_ to change « foo bar » to « module_foo_bar » ! */ 
    5953#define CONCATENATE( y, z ) CRUDE_HACK( y, z ) 
    6054#define CRUDE_HACK( y, z )  y##__##z 
     
    8680#   define EXTERN_SYMBOL 
    8781#endif 
    88  
    89 #define MODULE_STRING STRINGIFY( MODULE_NAME ) 
    9082 
    9183/*