[beast: 16/57] SFI: provide BSE_FORMAT()



commit 0d76de14ad2db4b610ffdca3f8e23461653bd821
Author: Tim Janik <timj gnu org>
Date:   Mon Jul 17 11:02:31 2017 +0200

    SFI: provide BSE_FORMAT()
    
    Signed-off-by: Tim Janik <timj gnu org>

 sfi/cxxaux.hh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sfi/cxxaux.hh b/sfi/cxxaux.hh
index 4bced57..b41c102 100644
--- a/sfi/cxxaux.hh
+++ b/sfi/cxxaux.hh
@@ -54,6 +54,7 @@ typedef vector<String> StringVector;    ///< Convenience alias for a std::vector
 #define BSE_CONST               __attribute__ ((__const__))
 #define BSE_CONSTRUCTOR                __attribute__ ((constructor,used))      // gcc-3.3 also needs "used" 
to emit code
 #define BSE_DEPRECATED          __attribute__ ((__deprecated__))
+#define BSE_FORMAT(fx)          __attribute__ ((__format_arg__ (fx)))
 #define BSE_MALLOC              __attribute__ ((__malloc__))
 #define BSE_MAY_ALIAS           __attribute__ ((may_alias))
 #define BSE_NOINLINE           __attribute__ ((noinline))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]