Sha256: 79618d877f8a433ccd99a9baa5b667642e5ea4b843d893f0b2460fb989ea7e42

Contents?: true

Size: 981 Bytes

Versions: 2

Compression:

Stored size: 981 Bytes

Contents

/* $Id: ruby_xml_node.h,v 1.3 2006/11/20 01:22:07 roscopeco Exp $ */

/* Please see the LICENSE file for copyright and distribution information */

#ifndef __RUBY_XML_NODE__
#define __RUBY_XML_NODE__

extern VALUE cXMLNode;
extern VALUE eXMLNodeSetNamespace;
extern VALUE eXMLNodeFailedModify;
extern VALUE eXMLNodeUnknownType;

typedef struct ruby_xml_node {
  xmlNodePtr node;
  VALUE xd;
  //int is_ptr;
} ruby_xml_node;

void ruby_xml_node_free(ruby_xml_node *rxn);
void ruby_init_xml_node(void);
VALUE ruby_xml_node_child_set(VALUE self, VALUE obj);
VALUE ruby_xml_node_new(VALUE class, xmlNodePtr node);
VALUE ruby_xml_node_new_ptr(VALUE class, VALUE xd, xmlNodePtr node);
VALUE ruby_xml_node_new3(VALUE class, VALUE xd, xmlNodePtr node, int ptr);
VALUE ruby_xml_node_name_get(VALUE self);
VALUE ruby_xml_node_property_get(VALUE self, VALUE key);
VALUE ruby_xml_node_property_set(VALUE self, VALUE key, VALUE val);
VALUE ruby_xml_node_set_ptr(VALUE node, int is_ptr);
#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-0.3.8.2 ext/xml/ruby_xml_node.h
libxml-ruby-0.3.8.4 ext/xml/ruby_xml_node.h