1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

include: Change some return types from int to enum

This also affects some new functions from 2.13.
This commit is contained in:
Nick Wellnhofer
2025-03-14 00:01:11 +01:00
parent fd1b939168
commit b349225952
21 changed files with 172 additions and 165 deletions

View File

@@ -1030,7 +1030,7 @@ testTruncatedMultiByte(void) {
static int charEncConvImplError;
static int
static xmlCharEncError
rot13Convert(void *vctxt, unsigned char *out, int *outlen,
const unsigned char *in, int *inlen,
int flush ATTRIBUTE_UNUSED) {
@@ -1063,7 +1063,7 @@ rot13ConvCtxtDtor(void *vctxt) {
xmlFree(vctxt);
}
static int
static xmlParserErrors
rot13ConvImpl(void *vctxt ATTRIBUTE_UNUSED, const char *name,
xmlCharEncFlags flags, xmlCharEncodingHandler **out) {
int *inputCtxt;