WPrefs: Added the proper 'const' attribute to the dictionnary functions
commit8517f3dcef46a25e3c3f6dc9d7370f77551ede2f
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 8 May 2013 13:44:07 +0000 (8 15:44 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 8 May 2013 14:05:00 +0000 (8 15:05 +0100)
tree93939d98ad485b004ac32ca58fd5a4664ef07360
parent022421e8793584e910407f1a5f05c72c89ebfbd3
WPrefs: Added the proper 'const' attribute to the dictionnary functions

A common argument to all these functions is the name of the key to
operate on, and this name is never modified by the functions. Marking
it as const reflects this, and can allow compiler to generate better
results thanks to this info.
WPrefs.app/WPrefs.c
WPrefs.app/WPrefs.h