diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-16 15:12:54 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-18 14:34:23 +0100 |
commit | abeeed8b6da45e1854bc151a8175836b5ca38e34 (patch) | |
tree | 5d37d096e080ea9cd78fc836ea0baebfced56542 /decoder.c | |
parent | 361fdcaafec8ddd37f0d381204e4c2a22c56b238 (diff) | |
download | libsigrokdecode-abeeed8b6da45e1854bc151a8175836b5ca38e34.tar.gz libsigrokdecode-abeeed8b6da45e1854bc151a8175836b5ca38e34.zip |
srd: Constify lots more parameters.
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; |