forgot to include xsltInternals.h
authorWilliam M. Brack <wbrack@src.gnome.org>
Mon, 22 Jul 2002 01:42:05 +0000 (01:42 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Mon, 22 Jul 2002 01:42:05 +0000 (01:42 +0000)
libxslt/xsltInternals.h

index c4db45b..f074dc3 100644 (file)
@@ -46,10 +46,12 @@ typedef xsltRuntimeExtra *xsltRuntimeExtraPtr;
 struct _xsltRuntimeExtra {
     void       *info;          /* pointer to the extra data */
     xmlFreeFunc deallocate;    /* pointer to the deallocation routine */
+    void       *val;           /* data not needing deallocation */
 };
 
-#define XSLT_RUNTIME_EXTRA(ctxt, nr) (ctxt)->extras[(nr)].info
+#define XSLT_RUNTIME_EXTRA_LST(ctxt, nr) (ctxt)->extras[(nr)].info
 #define XSLT_RUNTIME_EXTRA_FREE(ctxt, nr) (ctxt)->extras[(nr)].deallocate
+#define        XSLT_RUNTIME_EXTRA(ctxt, nr) (ctxt)->extras[(nr)].val
 
 /**
  * xsltTemplate: