axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Whitlock <>
Subject Fw: Pointer initilization
Date Wed, 06 Oct 2004 08:52:52 GMT

+1 (although I just added a fix which initialised a pointer to 0 - my
mistake - I'll change it to NULL after 1.3)
Wouldn't it be good to set the pointer to NULL after an object has been
This avoids accidentally reusing a deleted object.
Mark Whitlock

----- Forwarded by Mark Whitlock/UK/IBM on 06/10/2004 09:46 -----
             Samisa Abeysinghe                                             
   >                                               To 
                                       Apache AXIS C Developers List       
             06/10/2004 03:46          <>          
             Please respond to                                     Subject 
              "Apache AXIS C           Pointer initilization               
             Developers List"                                              

Hi All,
   In the generated code (by WSDL2WS) as well as in the Axis C++ engine
code we have pointer
inited using 0. Would'nt the code be more readable if we used NULL instead
to init pointers?


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

View raw message