You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/07/10 16:09:29 UTC
[jira] Created: (AXIS2C-202) Typos in generated function
declaration
Typos in generated function declaration
---------------------------------------
Key: AXIS2C-202
URL: http://issues.apache.org/jira/browse/AXIS2C-202
Project: Axis2-C
Type: Bug
Components: code generation
Versions: Current (Nightly)
Reporter: Samisa Abeysinghe
Priority: Trivial
I get the following function declaration generated when using codegen tool:
axis2_submitResponse_t*axis2_MySvc_submit (const axis2_env_t* env ,axis2_submit_t* param3 );
There are two typos.
1. the way return type appears: axis2_submitResponse_t*axis2_MySvc_submit
This should be corrected to : axis2_submitResponse_t *axis2_MySvc_submit
Note the space,between return type and function name; make sure * is attached to function name and not to the return type
2. the way ',' is placed between parameters: (const axis2_env_t* env ,axis2_submit_t* param3 );
This should be corrected to : (const axis2_env_t* env, axis2_submit_t* param3 );
Note the ',' is attached to the first param and there is a space between ',' and the type of the second param
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Closed: (AXIS2C-202) Typos in generated function declaration
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-202?page=all ]
Samisa Abeysinghe closed AXIS2C-202.
------------------------------------
Fix Version/s: 0.96
Resolution: Fixed
This seem to be fixed in the latest Java code
> Typos in generated function declaration
> ---------------------------------------
>
> Key: AXIS2C-202
> URL: http://issues.apache.org/jira/browse/AXIS2C-202
> Project: Axis2-C
> Issue Type: Bug
> Components: code generation
> Affects Versions: Current (Nightly)
> Reporter: Samisa Abeysinghe
> Priority: Trivial
> Fix For: 0.96
>
>
> I get the following function declaration generated when using codegen tool:
> axis2_submitResponse_t*axis2_MySvc_submit (const axis2_env_t* env ,axis2_submit_t* param3 );
> There are two typos.
> 1. the way return type appears: axis2_submitResponse_t*axis2_MySvc_submit
> This should be corrected to : axis2_submitResponse_t *axis2_MySvc_submit
> Note the space,between return type and function name; make sure * is attached to function name and not to the return type
> 2. the way ',' is placed between parameters: (const axis2_env_t* env ,axis2_submit_t* param3 );
> This should be corrected to : (const axis2_env_t* env, axis2_submit_t* param3 );
> Note the ',' is attached to the first param and there is a space between ',' and the type of the second param
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-202) Typos in generated function
declaration
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-202?page=comments#action_12436109 ]
Samisa Abeysinghe commented on AXIS2C-202:
------------------------------------------
Now the above mentioned problems are fixed but the * is palced in the wrong place.
Should should read as
type_t *var;
and not
type_t* var;
> Typos in generated function declaration
> ---------------------------------------
>
> Key: AXIS2C-202
> URL: http://issues.apache.org/jira/browse/AXIS2C-202
> Project: Axis2-C
> Issue Type: Bug
> Components: code generation
> Affects Versions: Current (Nightly)
> Reporter: Samisa Abeysinghe
> Priority: Trivial
>
> I get the following function declaration generated when using codegen tool:
> axis2_submitResponse_t*axis2_MySvc_submit (const axis2_env_t* env ,axis2_submit_t* param3 );
> There are two typos.
> 1. the way return type appears: axis2_submitResponse_t*axis2_MySvc_submit
> This should be corrected to : axis2_submitResponse_t *axis2_MySvc_submit
> Note the space,between return type and function name; make sure * is attached to function name and not to the return type
> 2. the way ',' is placed between parameters: (const axis2_env_t* env ,axis2_submit_t* param3 );
> This should be corrected to : (const axis2_env_t* env, axis2_submit_t* param3 );
> Note the ',' is attached to the first param and there is a space between ',' and the type of the second param
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org