Hello,
1) At [1], Bill mentions that SWIG can be used for accessing structure
members.
Any examples for Windows environment available?
2) I have with me a structure pointer from which I need to read the various
members.
struct axiom_node
{
/** document only availble if build through builder */
struct axiom_document *om_doc;
axiom_stax_builder_t *builder;
/** parent node */
axiom_node_t *parent;
/** previous sibling */
axiom_node_t *prev_sibling;
/** next sibling */
axiom_node_t *next_sibling;
/** first child */
axiom_node_t *first_child;
/** last child */
axiom_node_t *last_child;
/** node type, indicates the type stored in data_element */
axiom_types_t node_type;
/** done true means that this node is completely built , false otherwise
*/
int done;
/** instances of an om struct, whose type is defined by node type */
void *data_element;
};
Any suggestions?
Regards,
Yuva
[1] http://www.jsoftware.com/pipermail/programming/2007-May/006713.html
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm