* modules_plugin.h : Plugin management functions used by the core application.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules_plugin.h.in,v 1.7 2002/11/18 18:05:13 sam Exp $
+ * $Id: modules_plugin.h.in,v 1.8 2002/12/06 10:10:39 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#elif defined(WIN32) || defined(UNDER_CE)
*handle = LoadLibrary( psz_filename );
- return( *handle == NULL );
+ return( *handle == NULL );
#elif defined(RTLD_NOW)
# if defined(SYS_LINUX)
static const char * module_error( char *psz_buffer )
{
#if defined(SYS_BEOS)
- return( "failed" );
+ return "failed";
#elif defined(UNDER_CE)
wchar_t psz_tmp[256];
swprintf( psz_tmp + i, L" (error %i)", i_error );
psz_tmp[ 255 ] = L'\0';
}
-
+
WideCharToMultiByte( CP_ACP, WC_DEFAULTCHAR, psz_tmp, -1,
psz_buffer, 256, NULL, NULL );
snprintf( psz_buffer + i, 256 - i, " (error %i)", i_error );
psz_buffer[ 255 ] = '\0';
}
-
+
return psz_buffer;
#else
- return( dlerror() );
+ return dlerror();
#endif
}