You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ro...@apache.org on 2004/06/01 05:12:42 UTC

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

roshan      2004/05/31 20:12:42

  Modified:    c/include/axis/client Stub.h
               c/src/engine/client Stub.cpp
  Log:
  Added calling convention and changed varialble declaration i of the loop to j to avoid a compile problem in windows
  
  Revision  Changes    Path
  1.4       +5 -5      ws-axis/c/include/axis/client/Stub.h
  
  Index: Stub.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/client/Stub.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Stub.h	31 May 2004 08:30:03 -0000	1.3
  +++ Stub.h	1 Jun 2004 03:12:42 -0000	1.4
  @@ -34,15 +34,15 @@
   #include <axis/client/Call.h>
   #include <vector>
   
  -class Stub
  +class STORAGE_CLASS_INFO Stub
   {
     public:
       Stub (const char *pchEndpointUri);
       virtual ~ Stub ();
  -    int initilizeCall ();
  -    void setEndPoint (char *pcEndPoint);
  -    void setTransportProperty (const char *pcKey, const char *pcValue);
  -    IHeaderBlock *createHeaderBlock (AxisChar * pachLocalName,
  +    int AXISCALL initilizeCall ();
  +    void AXISCALL setEndPoint (char *pcEndPoint);
  +    void AXISCALL setTransportProperty (const char *pcKey, const char *pcValue);
  +    IHeaderBlock * AXISCALL createHeaderBlock (AxisChar * pachLocalName,
   				     AxisChar * pachPrefix,
   				     AxisChar * pachUri);
     /**
  
  
  
  1.5       +2 -2      ws-axis/c/src/engine/client/Stub.cpp
  
  Index: Stub.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Stub.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Stub.cpp	31 May 2004 08:35:57 -0000	1.4
  +++ Stub.cpp	1 Jun 2004 03:12:42 -0000	1.5
  @@ -49,9 +49,9 @@
   	free (m_vValues[i]);
       }
   
  -    for (unsigned int i = 0; i < m_vSOAPHeaderBlocks.size (); i++)
  +    for (unsigned int j = 0; j < m_vSOAPHeaderBlocks.size (); j++)
       {
  -	delete m_vSOAPHeaderBlocks[i];
  +	delete m_vSOAPHeaderBlocks[j];
       }
   }