]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/international.hh
new test targets.
[lilypond.git] / flower / include / international.hh
index fdf41a9b964112206b41507c33c0d698b85116f5..b515af64c450f827c0a7923cec2f3e2f7673d417 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef INTERNATIONAL_HH
 #define INTERNATIONAL_HH
 
+#include <stdarg.h>
+
 #include "std-string.hh"
 
 /**
 /**
    Internationalisation: _ ("to be translated") gets "translated" by GNU gettext
 */
-std::string _ (char const *ch);
+string _ (char const *ch);
 
 /**
    Internationalisation: _f ("Usage: %s [FILE]", "lilypond") gets "translated" by
    GNU gettext
 */
-std::string _f (char const *format, ...);
-std::string _f (char const *format, std::string s, std::string s2 = "", std::string s3 = "");
+string _f (char const *format, ...)
+          __attribute__ ((format (printf, 1, 2)));
+string _f (char const *format, string s, string s2 = "", string s3 = "");
+/**
+   va_list version of _f
+ */
+string v_f (char const *format, va_list args);
 
 #endif // INTERNATIONAL_HH