File: xpathcontext.h

package info (click to toggle)
libxml-libxml-perl 1.70.ds-1%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 1,992 kB
  • ctags: 1,726
  • sloc: perl: 4,521; ansic: 3,583; xml: 177; sh: 62; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __LIBXML_XPATHCONTEXT_H__
#define __LIBXML_XPATHCONTEXT_H__

/*
 * xpathcontext.h
 * 
 * This file is directly included into LibXML.xs.
 *
 */

struct _XPathContextData {
    SV* node;
    HV* pool;  
    SV* varLookup;
    SV* varData;
};
typedef struct _XPathContextData XPathContextData;
typedef XPathContextData* XPathContextDataPtr;

#define XPathContextDATA(ctxt) ((XPathContextDataPtr) ctxt->user)

#endif