Would you like to apply the advices from the article "http://en.wikipedia.org/wiki/Const-correctness" to more places in your sources?
I suggest to add the key word "const" to the type specifiers for parameters like the following.
img (functions "dmtxImageGet...", "dmtxPixelFromImage", "dmtxColor3FromImage...")
v1, v2 (functions "dmtxColor3Add", "dmtxColor3Sub", "dmtxColor3Cross")
return type for the function "dmtxVersion"
http://libdmtx.svn.sourceforge.net/viewvc/libdmtx/dmtx.h?revision=185&view=markup
Thanks for the suggestion, Markus. This email notice just indicates that I am assigning the feature request to myself, but I will look into incorporating this principle in the future.
Thanks,
Mike
Thanks for your acceptance.
I propose to mark more data structures for read-only usage.