Converted #define into an Enum for image format number
commit225c99a6ca953a3c073a74adf269b3dd4cc0d804
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 1 May 2013 18:26:31 +0000 (1 20:26 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 2 May 2013 19:48:45 +0000 (2 20:48 +0100)
tree25d56b9a2e077be90fcbf431278b6c126215d413
parent268ead4eca7174ea81c183d0f463ac892893234d
Converted #define into an Enum for image format number

An enum is always a better idea as it allows the compiler to do
some checks, and as this info is internal only to the WRLib it
will not change the API.
wrlib/imgformat.h
wrlib/load.c