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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user