Sha256: 8ef9446f2085a77a837452b152eb5bde67b42d02b624662cd74fbdc05542738d

Contents?: true

Size: 692 Bytes

Versions: 9

Compression:

Stored size: 692 Bytes

Contents

/* $Id: ruby_xml_xpointer_context.c,v 1.2 2006/02/27 12:55:32 roscopeco Exp $ */

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

#include "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", rb_eException);
}

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
libxml-ruby-0.3.8.2 ext/xml/ruby_xml_xpointer_context.c
libxml-ruby-0.3.8 ext/xml/ruby_xml_xpointer_context.c
mkrf-0.2.0 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.1.0 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.1.1 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.2.1 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.1.2 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.2.2 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
mkrf-0.2.3 test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c