Class: Nokogiri::LibXML::XmlSaxHandler
- Inherits:
-
FFI::ManagedStruct
- Object
- FFI::ManagedStruct
- Nokogiri::LibXML::XmlSaxHandler
- Defined in:
- lib/nokogiri/ffi/structs/xml_sax_handler.rb
Overview
:nodoc:
Constant Summary collapse
- XML_SAX2_MAGIC =
see, the libxml2 authors DO have a sense of humor. i think.
0xDEEDBEAF
Class Method Summary collapse
Class Method Details
.allocate ⇒ Object
41 42 43 |
# File 'lib/nokogiri/ffi/structs/xml_sax_handler.rb', line 41 def self.allocate new LibXML.calloc(1, LibXML::XmlSaxHandler.size) end |
.release(ptr) ⇒ Object
45 46 47 |
# File 'lib/nokogiri/ffi/structs/xml_sax_handler.rb', line 45 def self.release ptr LibXML.free(ptr) end |