diff options
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -290,9 +290,9 @@ err_out: * @param dec The loaded protocol decoder. * * @return A newly allocated buffer containing the protocol decoder's - * documentation. The caller is responsible for free'ing this after use. + * documentation. The caller is responsible for free'ing the buffer. */ -SRD_API char *srd_decoder_doc(struct srd_decoder *dec) +SRD_API char *srd_decoder_doc(const struct srd_decoder *dec) { PyObject *py_str; char *doc; |