1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

parser: Simplify xmlStringCurrentChar

Start to move away from using this function.
This commit is contained in:
Nick Wellnhofer
2023-09-22 15:45:20 +02:00
parent f98fa86318
commit b9db3d7d02
3 changed files with 12 additions and 98 deletions

View File

@@ -321,7 +321,6 @@ htmlNodeInfoPop(htmlParserCtxtPtr ctxt)
************/
#define CUR_CHAR(l) htmlCurrentChar(ctxt, &l)
#define CUR_SCHAR(s, l) xmlStringCurrentChar(ctxt, s, &l)
#define COPY_BUF(l,b,i,v) \
if (l == 1) b[i++] = v; \