swh:1:snp:7d9f1bc35e120776766db9334626062f837c20ad
Tip revision: 3cc154f91cacaa5bc05a347c841f07984b5a28a6 authored by CRAN Team on 22 January 2024, 13:30:59 UTC
version 3.99-0.16.1
version 3.99-0.16.1
Tip revision: 3cc154f
RS_XML.h
/*
* See Copyright for the license status of this software.
*/
#ifndef RS_XML_H
#define RS_XML_H
#define RS_XML(a) RS_XML_##a
/* #define R_XML_DEBUG 1 */
#if 0
#if 1
#define XML_REF_COUNT_NODES 1
#else
#ifdef XML_REF_COUNT_NODES
#undef XML_REF_COUNT_NODES
#endif
#endif
#endif
/* #undef XML_REF_COUNT_NODES */
typedef enum {RS_XML_FILENAME, RS_XML_TEXT, RS_XML_CONNECTION, RS_XML_INVALID_CONTENT} RS_XML_ContentSourceType;
#ifdef _R_
#include "R.h"
#include "Rinternals.h"
#if 0
#if R_VERSION < R_Version(1, 2, 0)
#define STRING_ELT(x,i) STRING(x)[i]
#define VECTOR_ELT(x,i) VECTOR(x)[i]
#define SET_STRING_ELT(x,i,v) (STRING(x)[i]=(v))
#define SET_VECTOR_ELT(x,i,v) (VECTOR(x)[i]=(v))
#endif
#endif /* end of ignoring version details */
#endif /* end of _R_ */
#endif