mirror of https://github.com/xemu-project/xemu.git
mstring: Add format attribute to mstring formatting functions
This commit is contained in:
parent
a8a8e54564
commit
0a942630d5
|
@ -9,9 +9,9 @@ typedef struct {
|
|||
gchar *string;
|
||||
} MString;
|
||||
|
||||
void mstring_append_fmt(MString *mstring, const char *fmt, ...);
|
||||
MString *mstring_from_fmt(const char *fmt, ...);
|
||||
void mstring_append_va(MString *mstring, const char *fmt, va_list va);
|
||||
void mstring_append_fmt(MString *mstring, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
MString *mstring_from_fmt(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
void mstring_append_va(MString *mstring, const char *fmt, va_list va) __attribute__ ((format (printf, 2, 0)));
|
||||
|
||||
static inline
|
||||
void mstring_ref(MString *mstr)
|
||||
|
|
Loading…
Reference in New Issue