Sha256: ea13e781e6480ee781e584e45a78a6db27b473751757042cc7f1e0eaa418aeba

Contents?: true

Size: 738 Bytes

Versions: 4

Compression:

Stored size: 738 Bytes

Contents

/* $Id: ruby_xml_xpointer_context.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_xpointer_context.h"

VALUE cXMLXPointerContext;
VALUE eXMLXPointerContextInvalidPath;

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

void
ruby_init_xml_xpointer_context(void) {
  cXMLXPointerContext = rb_define_class_under(cXMLXPointer, "Context", cXMLXPathContext);
  eXMLXPointerContextInvalidPath = rb_define_class_under(cXMLXPointerContext, "InvalidPath", eXMLError);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libxml-ruby-0.8.2 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.8.2-x86-mswin32-60 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.8.3 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.8.3-x86-mswin32-60 ext/libxml/ruby_xml_xpointer_context.c