Class: Nokogiri::LibXML::XmlXpathObject

Inherits:
FFI::ManagedStruct
  • Object
show all
Defined in:
lib/nokogiri/ffi/structs/xml_xpath_object.rb

Overview

:nodoc:

Constant Summary collapse

XPATH_UNDEFINED =
0
XPATH_NODESET =
1
XPATH_BOOLEAN =
2
XPATH_NUMBER =
3
XPATH_STRING =
4
XPATH_POINT =
5
XPATH_RANGE =
6
XPATH_LOCATIONSET =
7
XPATH_USERS =
8
XPATH_XSLT_TREE =
9

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



29
30
31
# File 'lib/nokogiri/ffi/structs/xml_xpath_object.rb', line 29

def self.release ptr
  LibXML.xmlXPathFreeNodeSetList(ptr) # despite the name, this frees the xpath but not the contained node set
end