]> sigrok.org Git - libsigrok.git/commitdiff
Pass sr_datafeed_packets and payloads with const pointers
authorJoel Holdsworth <redacted>
Thu, 13 Dec 2012 21:07:53 +0000 (21:07 +0000)
committerJoel Holdsworth <redacted>
Thu, 20 Dec 2012 07:51:21 +0000 (07:51 +0000)
This patch marks packet structures and their payloads as const.
This indicates to packet receivers that modifications to these are
not allowed. In general all pointers should be marked const unless
modification of the referenced data is explicitly allowed.


No differences found