/* $Id: ruby_xml_xpointer_context.c,v 1.2.4.1 2006/11/26 12:37:42 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", eXMLError); }