You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/11/30 08:14:19 UTC

cvs commit: ws-axis/c/src/engine Axis.cpp

samisa      2004/11/29 23:14:19

  Modified:    c/src/engine Axis.cpp
  Log:
  Fixed the code to solve the link error 'unresolved external symbol _initialize_module' on Windows.
  
  Revision  Changes    Path
  1.82      +8 -2      ws-axis/c/src/engine/Axis.cpp
  
  Index: Axis.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- Axis.cpp	22 Nov 2004 16:10:08 -0000	1.81
  +++ Axis.cpp	30 Nov 2004 07:14:19 -0000	1.82
  @@ -241,7 +241,9 @@
   
   #endif
   
  -extern "C" int initialize_module (int bServer)
  +extern "C" {
  +STORAGE_CLASS_INFO
  +int initialize_module (int bServer)
   {
       g_bModuleInitialize = true;
       int status = 0;
  @@ -337,8 +339,11 @@
       }
       return AXIS_SUCCESS;
   }
  +}
   
  -extern "C" int uninitialize_module ()
  +extern "C" {
  +STORAGE_CLASS_INFO
  +int uninitialize_module ()
   {
       g_bModuleInitialize = false;
       SOAPTransportFactory::uninitialize();
  @@ -346,6 +351,7 @@
       SoapKeywordMapping::uninitialize ();
       XMLParserFactory::uninitialize();
       return AXIS_SUCCESS;
  +}
   }
   
   void Ax_Sleep (int nTime)