📄 xmlsetgenericerrorfunc_chdl.c
字号:
#include <libxml/xmlerror.h>
#include <ch.h>
EXPORTCH void xmlSetGenericErrorFunc_chdl(void *varg) {
ChInterp_t interp;
va_list ap;
void *ctx;
xmlGenericErrorFunc *handler;
Ch_VaStart(interp, ap, varg);
ctx = Ch_VaArg(interp, ap, void *);
handler = Ch_VaArg(interp, ap, xmlGenericErrorFunc *);
if(handler != NULL)
{
printf("libxml.dl:initGenericErrorFunc(): This version Ch\n"
"LibXML2 does not the use of user defined GenericErrorFuncs.\n"
"Using the default GenericErrorFunc.\n");
}
xmlSetGenericErrorFunc(ctx, (xmlGenericErrorFunc)NULL);
Ch_VaEnd(interp, ap);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -