+1.
It is a useful  suggestion. Would you like to provide a patch?

Thanks,
Samisa...

Patrick van Beem wrote:
Hello,

In the generated code in axis2_stub_..., the axis2_char_t* type arguments used 
for axsi2_stub_create_... are defined non-const, while they're only used const 
(and the nature of the parameters just screams for const). This leads to 
unnecessary const_casts in code using these functions. Wouldn't it be better to 
generate const axis2_char_t* arguments here?

axis2_stub_t*
axis2_stub_create_Calculator(const axutil_env_t *env,
                                axis2_char_t *client_home,
                                axis2_char_t *endpoint_uri)

Regards,

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.3/1786 - Release Date: 11/13/2008 6:01 PM



--
Samisa Abeysinghe Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to