module declaration and compilation

module declaration and compilation

am 17.12.2002 12:02:48 von Gael Seroul

This is a multi-part message in MIME format.

------_=_NextPart_001_01C2A5BB.D5AF3208
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

HI, I am not sure if this is the right place, but I have a question
about the module declaration and the compilation.
The proxy module and the mod_info module are both the only modules that
have a declartion with "extern" :
=20
extern module MODULE_VAR_EXPORT proxy_module;
=20
All others module I have seen have a module declaration without the
"extern", like=20
module MODULE_VAR_EXPORT example_module;
=20
Could someone explain the difference about these two declarations for
compilation and programs running.
=20
Thanks
=20
=20
Gael Seroul

------_=_NextPart_001_01C2A5BB.D5AF3208
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable



charset=3Dus-ascii">
Message



HI, I =
am n size=3D2>ot sure if this is the right place, but I have a question about =
the=20
module declaration and the compilation.

The =
proxy module and=20
the mod_info module are both the only modules that have a declartion =
with=20
"extern" :

 

extern module MODULE_VAR_EXPORT=20
proxy_module;

 

All =
others module I=20
have seen have a module declaration without the "extern", like=20

module =

MODULE_VAR_EXPORT example_module;

size=3D2> 

Could =
someone=20
explain the difference about these two declarations for compilation and =
programs=20
running.

size=3D2> 

size=3D2>Thanks

 

 

Gael=20
Seroul


------_=_NextPart_001_01C2A5BB.D5AF3208--