Sha256: 456b83929b4f26c3a9e8edf14b22bd8b496ada3a9d7697e45fb807b498b93a2a
Contents?: true
Size: 624 Bytes
Versions: 8
Compression:
Stored size: 624 Bytes
Contents
#ifndef NOKOGIRI_XML_DOCUMENT #define NOKOGIRI_XML_DOCUMENT #include <nokogiri.h> struct _nokogiriTuple { xmlDocPtr doc; xmlNodeSetPtr unlinkedNodes; }; typedef struct _nokogiriTuple nokogiriTuple; typedef nokogiriTuple * nokogiriTuplePtr; void init_xml_document(); VALUE Nokogiri_wrap_xml_document(VALUE klass, xmlDocPtr doc); #define DOC_RUBY_OBJECT_TEST(x) ((nokogiriTuplePtr)(x->_private)) #define DOC_RUBY_OBJECT(x) ((VALUE)((nokogiriTuplePtr)(x->_private))->doc) #define DOC_UNLINKED_NODE_SET(x) ((xmlNodeSetPtr)((nokogiriTuplePtr)(x->_private))->unlinkedNodes) extern VALUE cNokogiriXmlDocument ; #endif
Version data entries
8 entries across 8 versions & 1 rubygems