diff options
Diffstat (limited to 'Source/DOH/dohint.h')
-rw-r--r-- | Source/DOH/dohint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DOH/dohint.h b/Source/DOH/dohint.h index 661bed075..9f5c06272 100644 --- a/Source/DOH/dohint.h +++ b/Source/DOH/dohint.h @@ -43,7 +43,7 @@ typedef struct { /* File methods */ typedef struct { int (*doh_read) (DOH *obj, void *buffer, int nbytes); /* Read bytes */ - int (*doh_write) (DOH *obj, void *buffer, int nbytes); /* Write bytes */ + int (*doh_write) (DOH *obj, const void *buffer, int nbytes); /* Write bytes */ int (*doh_putc) (DOH *obj, int ch); /* Put character */ int (*doh_getc) (DOH *obj); /* Get character */ int (*doh_ungetc) (DOH *obj, int ch); /* Unget character */ @@ -54,7 +54,7 @@ typedef struct { /* String methods */ typedef struct { - int (*doh_replace) (DOH *obj, DOH *old, DOH *rep, int flags); + int (*doh_replace) (DOH *obj, const DOHString_or_char *old, const DOHString_or_char *rep, int flags); void (*doh_chop) (DOH *obj); } DohStringMethods; |