Hi all,
I think we can use a macro for parameter validation in the code,
currently for all in parameters to functions we use
if(!param)
{
(*env)->error->error_number = AXIS2_ERROR_INVALID_NULL_PARAMETER;
return NULL; /* or appropriate return type */
}
these lines are repeatedly used everywhere in the code , so if we can define a macro to do the above stuff
the code will look much cleaner ,
what do u think about this .....
regards ..
nandika
- [AXIS2] using a macro for parameter checking nandika jayawardana
- Re: [AXIS2] using a macro for parameter checking Damitha Kumarage
- Re: [AXIS2] using a macro for parameter checking Samisa Abeysinghe
