wrlib: Add compiler attributes to the API functions
commit944bb49997ed04093cf64cdd045e6b2362307b7c
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 16 May 2021 13:47:15 +0000 (16 15:47 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
treea25bce50296cff4d3346e7baa3b5ce138e4b0a52
parent0ac6827a9bf950688993b2b9924d411dea7108b7
wrlib: Add compiler attributes to the API functions

With proper attributes, the compiler is able to do some extra checks on
user side to make code safer and/or better optimised.

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