wrlib: re-introduce the optimize_for_speed flag for binary compatibility
commit9740c024037b58a90de94c2b21d443e1ab7f6f4d
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 19 Jul 2014 16:50:44 +0000 (19 18:50 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 20 Jul 2014 14:31:57 +0000 (20 15:31 +0100)
tree3601ed1ba21f302d60434d3039c4e6582d7264cc
parent89295b91fb72c1fbf32c99012499b633f2f91ca3
wrlib: re-introduce the optimize_for_speed flag for binary compatibility

The commit #d1f9b801 removed it because the code behind it is actually
useless, unfortunately removing the flag itself from the structure is
breaking the compatibility of the API.

To avoid problems, this patch re-introduces the flag in the structure, but
not the code behind it so it is useless, and adds an attribute so that gcc
will report its use as deprecated, to help application migration.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/wraster.h