X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/c34453a5c701b98ed640cc12d846979238c52297..b56be758f03f77eb194984146943be42cc04bb20:/buffer.c diff --git a/buffer.c b/buffer.c index bd5e334..7360d0b 100644 --- a/buffer.c +++ b/buffer.c @@ -262,10 +262,10 @@ static PyMethodDef rbuf_pymethods[] = { METH(getu##w, "RBUF.getu" #w "() -> INT") DOUINTCONV(RBMETH_DECL_GETU_) #define RBMETH_DECL_GETBLK_(n, W, w) \ - METH(getblk##w, "RBUF.getblk" #w "() -> INT") + METH(getblk##w, "RBUF.getblk" #w "() -> BYTES") BUF_DOSUFFIXES(RBMETH_DECL_GETBLK_) #define RBMETH_DECL_GETBUF_(n, W, w) \ - METH(getbuf##w, "RBUF.getbuf" #w "() -> INT") + METH(getbuf##w, "RBUF.getbuf" #w "() -> RBUF'") BUF_DOSUFFIXES(RBMETH_DECL_GETBUF_) METH (getmp, "RBUF.getmp() -> X") METH (getgf, "RBUF.getgf() -> X")