Sha256: cfb96b1a9594c7817f1161a9f43d08d3b7e421e6829164881d67a2bdbbb3fa34

Contents?: true

Size: 606 Bytes

Versions: 4

Compression:

Stored size: 606 Bytes

Contents

/* $Id: ruby_xml_xinclude.c 461 2008-07-15 21:35:56Z cfis $ */

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

#include "ruby_libxml.h"
#include "ruby_xml_xinclude.h"

VALUE cXMLXInclude;
VALUE eXMLXIncludeError;

// Rdoc needs to know 
#ifdef RDOC_NEVER_DEFINED
  mLibXML = rb_define_module("LibXML");
  mXML = rb_define_module_under(mLibXML, "XML");
#endif

void
ruby_init_xml_xinclude(void) {
  cXMLXInclude = rb_define_class_under(mXML, "XInclude", rb_cObject);
  eXMLXIncludeError = rb_define_class_under(cXMLXInclude, "Error", rb_eRuntimeError);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libxml-ruby-0.8.0 ext/libxml/ruby_xml_xinclude.c
libxml-ruby-0.8.0-x86-mswin32-60 ext/libxml/ruby_xml_xinclude.c
libxml-ruby-0.8.1 ext/libxml/ruby_xml_xinclude.c
libxml-ruby-0.8.1-x86-mswin32-60 ext/libxml/ruby_xml_xinclude.c