Sha256: beed1d93c1f2a1004993216406ed909d2844328762673bed189475d4dd34dad5

Contents?: true

Size: 704 Bytes

Versions: 4

Compression:

Stored size: 704 Bytes

Contents

/* $Id: ruby_xml_xpointer_context.c 300 2008-07-01 19:14:15Z 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
  mXML = rb_define_module("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.7.0 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.6.0-x86-mswin32-60 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.6.0 ext/libxml/ruby_xml_xpointer_context.c
libxml-ruby-0.7.0-x86-mswin32-60 ext/libxml/ruby_xml_xpointer_context.c