#9 Improve const correctness

open
libmng-core (6)
2
2012-08-15
2005-08-18
No

Would you like to apply the advices from the article
"http://en.wikipedia.org/wiki/Const_correctness" to
your sources?
I suggest to add the key word "const" to the type
specifiers for parameters like the following examples.
-
http://cvs.sourceforge.net/viewcvs.py/libmng/libmng-devel/libmng_cms.h?rev=1.7&view=markup
zFilename (function "mnglcms_createfileprofile")

-
http://cvs.sourceforge.net/viewcvs.py/libmng/libmng-devel/libmng_display.h?rev=1.14&view=markup
pDelta (function "mng_execute_delta_image")

Discussion


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks