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 <sa...@gmail.com> on 2006/02/28 00:50:50 UTC

[Axis2]OM node struct add child bug?

Nandika,

In include/axis2_om_node.h, we have the macro:
#define AXIS2_OM_NODE_ADD_CHILD(om_node,env,parent) \
        ((parent)->ops->add_child(om_node,env,parent))

Should tis not be:
#define AXIS2_OM_NODE_ADD_CHILD(om_node, env, child) \
        ((om_node)->ops->add_child(om_node, env, child))

PS: the macro code also violates coding convention; should have a space 
after a comma.

Samisa...