axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick van Beem" <>
Subject Proposal: Using const in generated code
Date Fri, 14 Nov 2008 06:28:27 GMT


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_create_Calculator(const axutil_env_t *env,
                                axis2_char_t *client_home,
                                axis2_char_t *endpoint_uri)



Patrick van Beem
Sr. Software engineer
T +31 (0) 73 691 07 39
F +31 (0) 73 691 07 54
M +31 (0) 06 15 01 65 83

This message contains information that may be privileged or confidential and is the property
of Quintiq. It is only intended for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute
or use this message or any part thereof. If you have received this message in error, please
notify the sender immediately and delete all copies of this message. Please note that e-mails
are susceptible to change, therefore they are not binding.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message