⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlsetstructurederrorfunc_chdl.c

📁 图片显示,电脑光于望技术湖连望键往,网络
💻 C
字号:
#include <libxml/xmlerror.h>#include <ch.h>//typedef void (*xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error);static ChInterp_t interp;static void* xmlSetStructuredErrorFunc_funptr;static void xmlStructuredErrorFunc_funarg(void *userData, xmlErrorPtr error);EXPORTCH void xmlSetStructuredErrorFunc_chdl(void *varg) {  va_list ap;  void *ctx;  xmlStructuredErrorFunc handler;  Ch_VaStart(interp, ap, varg);  ctx = Ch_VaArg(interp, ap, void *);  handler = Ch_VaArg(interp, ap, xmlStructuredErrorFunc);  if(handler != NULL)  {     xmlSetStructuredErrorFunc_funptr = (void *)handler;     handler = (xmlStructuredErrorFunc)xmlStructuredErrorFunc_funarg;  }  xmlSetStructuredErrorFunc(ctx, handler);  Ch_VaEnd(interp, ap);}static void xmlStructuredErrorFunc_funarg(void *userData, xmlErrorPtr error){	Ch_CallFuncByAddr(interp, xmlSetStructuredErrorFunc_funptr, NULL, 			  userData, error);	return;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -