Hi All ,

 By using a macro to convert between _impl_t struct and  interface struct can make life easier in writing code since we can replace castings with  macros.
Eg
To convert between axis2_om_node struct and axis2_om_node_impl_t struct we can use a macro
AXIS2_INTF_TO_IMPL(node)  ((axis2_om_node_impl_t*)node)

This will make code more readable as well .

regards ......

nandika



Reply via email to