axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-202) Typos in generated function declaration
Date Wed, 20 Sep 2006 04:43:22 GMT
    [ 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


Mime
View raw message