Monday 07 August 2006 17:09, [EMAIL PROTECTED] написав:
> Author: chehrlic
> Date: 2006-08-07 16:09:00 +0200 (Mon, 07 Aug 2006)
> New Revision: 1073
>
> Modified:
> trunk/plugins/sound/sound.h
> trunk/sim/sim.cpp
> trunk/sim/simapi.h
> Log:
> small cleanup
>
...
> Modified: trunk/sim/simapi.h
> ===================================================================
> --- trunk/sim/simapi.h 2006-08-07 12:39:16 UTC (rev 1072)
> +++ trunk/sim/simapi.h 2006-08-07 14:09:00 UTC (rev 1073)
> @@ -86,6 +86,7 @@
> #else
> # define EXPORT SIM_IMPORT
> #endif
> +#define EXPORT_PROC SIM_EXPORT
>
> #ifndef HAVE_STRCASECMP
> EXPORT int strcasecmp(const char *a, const char *b);
> @@ -201,21 +202,8 @@
> unsigned base; // base for plugin types
> } pluginInfo;
>
> -typedef struct StyleInfo
> -{
> - const char *title;
> - createStyle *create;
> -} StyleInfo;
> +SIM_EXPORT PluginInfo *GetPluginInfo();
>
> -#ifdef WIN32
> -#define EXPORT_PROC extern "C" __declspec(dllexport)
> -#else
> -#define EXPORT_PROC extern "C"
> -#endif
> -
> -EXPORT_PROC PluginInfo *GetPluginInfo();
> -EXPORT_PROC StyleInfo *GetStyleInfo();
> -
> //
> ___________________________________________________________________________
>__________ // Event
Have you tested this? I'm getting on linux messages like "Plugin __homedir
doesn't have the GetPluginInfo entry" and similar for others plugins.
--
Best regards,
Serhiy Kachanuk,
http://sim-im.org
_______________________________________________
sim-im-main mailing list
[email protected]
https://mailman.dg.net.ua/listinfo/sim-im-main