Sha256: 832cd0af8c1d5622e19b44b0c81f33b3494c011f993062d86a7af64d20cdd0a6
Contents?: true
Size: 863 Bytes
Versions: 16
Compression:
Stored size: 863 Bytes
Contents
#ifndef NOKOGIRI_XML_SAX_PARSER #define NOKOGIRI_XML_SAX_PARSER #include <nokogiri.h> void init_xml_sax_parser(); extern VALUE cNokogiriXmlSaxParser ; typedef struct _nokogiriSAXTuple { xmlParserCtxtPtr ctxt; VALUE self; } nokogiriSAXTuple; typedef nokogiriSAXTuple * nokogiriSAXTuplePtr; #define NOKOGIRI_SAX_SELF(_ctxt) \ ({ \ nokogiriSAXTuplePtr _tuple = (nokogiriSAXTuplePtr)(_ctxt); \ _tuple->self; \ }) #define NOKOGIRI_SAX_CTXT(_ctxt) \ ({ \ nokogiriSAXTuplePtr _tuple = (nokogiriSAXTuplePtr)(_ctxt); \ _tuple->ctxt; \ }) #define NOKOGIRI_SAX_TUPLE_NEW(_ctxt, _self) \ ({ \ nokogiriSAXTuplePtr _tuple = malloc(sizeof(nokogiriSAXTuple)); \ _tuple->self = _self; \ _tuple->ctxt = _ctxt; \ _tuple; \ }) #define NOKOGIRI_SAX_TUPLE_DESTROY(_tuple) \ ({ \ free(_tuple); \ }) #endif
Version data entries
16 entries across 16 versions & 6 rubygems