ext/nokogiri/nokogiri.h in nokogiri-maglev--1.5.3 vs ext/nokogiri/nokogiri.h in nokogiri-maglev--1.5.4.20120815005250

- old
+ new

@@ -118,14 +118,11 @@ extern VALUE mNokogiriXmlSax ; extern VALUE mNokogiriHtml ; extern VALUE mNokogiriHtmlSax ; extern VALUE mNokogiriXslt ; -#define NOKOGIRI_ROOT_NODE(_node) \ - st_insert(((nokogiriTuplePtr)(_node)->doc->_private)->unlinkedNodes, (st_data_t)(_node), (st_data_t)(_node)) - -#define NOKOGIRI_ROOT_NSDEF(_nsDef, _doc) \ - st_insert(((nokogiriTuplePtr)(_doc)->_private)->unlinkedNodes, (st_data_t)(_nsDef), (st_data_t)(_nsDef)) +void nokogiri_root_node(xmlNodePtr); +void nokogiri_root_nsdef(xmlNsPtr, xmlDocPtr); #ifdef DEBUG #define NOKOGIRI_DEBUG_START(p) if (getenv("NOKOGIRI_NO_FREE")) return ; if (getenv("NOKOGIRI_DEBUG")) fprintf(stderr,"nokogiri: %s:%d %p start\n", __FILE__, __LINE__, p); #define NOKOGIRI_DEBUG_END(p) if (getenv("NOKOGIRI_DEBUG")) fprintf(stderr,"nokogiri: %s:%d %p end\n", __FILE__, __LINE__, p);