Sha256: 8af7b72ec4e174061d3814c8e553e9f3df6502ef96601192d403d88f26286c1c

Contents?: true

Size: 683 Bytes

Versions: 2

Compression:

Stored size: 683 Bytes

Contents

/* $Id: ruby_xml_xpointer_context.c 120 2006-11-26 12:57:56Z roscopeco $ */

/* 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", eXMLError);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-0.5.1.0 ext/xml/ruby_xml_xpointer_context.c
libxml-ruby-0.5.0 ext/xml/ruby_xml_xpointer_context.c