Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Win32: get rid of the xy.def files?!?

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 25 Jan 2007 08:59:25 +0100 (CET)
Hi,

The answer? Yes.
It's already used for the plugin registration functions

Thanx,
Jaap

On Thu, 25 Jan 2007, Ulf Lamping wrote:

> Jaap Keuter wrote:
> > Hi,
> >
> > Reading the previously quoted thread, why not use the facilities provided
> > by gmodule.h?
> >
> > /* exporting and importing functions, this is special cased
> >  * to feature Windows dll stubs.
> >  */
> > #define	G_MODULE_IMPORT		extern
> > #ifdef G_PLATFORM_WIN32
> > #  define	G_MODULE_EXPORT		__declspec(dllexport)
> > #else /* !G_PLATFORM_WIN32 */
> > #  define	G_MODULE_EXPORT
> > #endif /* !G_PLATFORM_WIN32 */
> >
> Without having a look myself, is this GTK1.x safe?
>
> Regards, ULFL
>