[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DLL version of Gnokii for Win32
From: |
Feico de Boer |
Subject: |
Re: DLL version of Gnokii for Win32 |
Date: |
Wed, 10 Apr 2002 22:23:09 +0200 |
I think it just specifies extern linkage. In other words, sybols defined as
'extern' are visible outside the module in which they are defined.
Example:
file h.h:
extern int externfunc(void);
file a.c:
#include "h.h"
main()
{
externfunc();
}
file b.c:
#include "h.h"
int externfunc(void)
{
return(0);
}
Now it does appear extern linkage is standard but IMHO it does not seem to
hurd. I couldn't find exact definitions for 'extern' however.
Regards,
Feico
----- Original Message -----
From: "Pawel Kot" <address@hidden>
To: <address@hidden>
Sent: Wednesday, April 10, 2002 2:38 PM
Subject: Re: DLL version of Gnokii for Win32
> #else /* !WIN32 */
> # define GNOKIIDLL_API extern
> #endif /* WIN32 */
Ouch. I just noticed that you use this macro not in the declaration,
but in definition. I don't have ANSI C speficifation with me, but
what's the result of the extern in the function definition? I have
never used such construction.
- Re: DLL version of Gnokii for Win32, (continued)
- Re: DLL version of Gnokii for Win32, Feico de Boer, 2002/04/10
- Re: DLL version of Gnokii for Win32, Pavel Machek, 2002/04/15
- Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/15
- Re: DLL version of Gnokii for Win32, Feico de Boer, 2002/04/19
- Re: DLL version of Gnokii for Win32, Feico de Boer, 2002/04/26
- Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/27
- Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/28
- Re: DLL version of Gnokii for Win32, Gnokii for Win32, 2002/04/29
- Message not available
- Re: DLL version of Gnokii for Win32, Pavel Machek, 2002/04/21
Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/10
- Re: DLL version of Gnokii for Win32,
Feico de Boer <=
Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/10
Re: DLL version of Gnokii for Win32, Pawel Kot, 2002/04/11