Sha256: 5e0ab0f7cb1d08d0a5ff146d7e23e70fe18c5f8d1469e30e7a70cd82bdec5ddf
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
/* Please see the COPYING file for copyright and distribution information */ #ifndef __RBXS_UTILS_H__ #define __RBXS_UTILS_H__ #include "rbxs.h" //*********************************************************************************** // shamlessly copied from xmllint.c //*********************************************************************************** xmlExternalEntityLoader defaultEntityLoader = NULL; static xmlParserInputPtr xmllintExternalEntityLoader(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) { xmlParserInputPtr ret; warningSAXFunc warning = NULL; if ((ctxt != NULL) && (ctxt->sax != NULL)) { warning = ctxt->sax->warning; ctxt->sax->warning = NULL; } if (defaultEntityLoader != NULL) { ret = defaultEntityLoader(URL, ID, ctxt); if (ret != NULL) { if (warning != NULL) ctxt->sax->warning = warning; return(ret); } } if (warning != NULL) { ctxt->sax->warning = warning; if (URL != NULL) warning(ctxt, "failed to load external entity \"%s\"\n", URL); else if (ID != NULL) warning(ctxt, "failed to load external entity \"%s\"\n", ID); } return(NULL); } #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-xml-smart-0.1.12.1-i486-linux | rbxs_utils.h |
ruby-xml-smart-0.1.12-i486-linux | rbxs_utils.h |
ruby-xml-smart-0.1.11-i486-linux | rbxs_utils.h |