diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_strfmt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lj_strfmt.h b/src/lj_strfmt.h index b3556f1a..c440f946 100644 --- a/src/lj_strfmt.h +++ b/src/lj_strfmt.h | |||
@@ -73,6 +73,7 @@ static LJ_AINLINE void lj_strfmt_init(FormatState *fs, const char *p, MSize len) | |||
73 | } | 73 | } |
74 | 74 | ||
75 | LJ_FUNC SFormat LJ_FASTCALL lj_strfmt_parse(FormatState *fs); | 75 | LJ_FUNC SFormat LJ_FASTCALL lj_strfmt_parse(FormatState *fs); |
76 | |||
76 | LJ_FUNC SBuf *lj_strfmt_putchar(SBuf *sb, SFormat, int32_t c); | 77 | LJ_FUNC SBuf *lj_strfmt_putchar(SBuf *sb, SFormat, int32_t c); |
77 | LJ_FUNC SBuf *lj_strfmt_putstr(SBuf *sb, SFormat, GCstr *str); | 78 | LJ_FUNC SBuf *lj_strfmt_putstr(SBuf *sb, SFormat, GCstr *str); |
78 | LJ_FUNC SBuf *lj_strfmt_putquoted(SBuf *sb, GCstr *str); | 79 | LJ_FUNC SBuf *lj_strfmt_putquoted(SBuf *sb, GCstr *str); |
@@ -81,4 +82,12 @@ LJ_FUNC SBuf *lj_strfmt_putnum_int(SBuf *sb, SFormat sf, lua_Number n); | |||
81 | LJ_FUNC SBuf *lj_strfmt_putnum_uint(SBuf *sb, SFormat sf, lua_Number n); | 82 | LJ_FUNC SBuf *lj_strfmt_putnum_uint(SBuf *sb, SFormat sf, lua_Number n); |
82 | LJ_FUNC SBuf *lj_strfmt_putnum(SBuf *sb, SFormat, lua_Number n); | 83 | LJ_FUNC SBuf *lj_strfmt_putnum(SBuf *sb, SFormat, lua_Number n); |
83 | 84 | ||
85 | LJ_FUNC const char *lj_strfmt_pushvf(lua_State *L, const char *fmt, | ||
86 | va_list argp); | ||
87 | LJ_FUNC const char *lj_strfmt_pushf(lua_State *L, const char *fmt, ...) | ||
88 | #ifdef __GNUC__ | ||
89 | __attribute__ ((format (printf, 2, 3))) | ||
90 | #endif | ||
91 | ; | ||
92 | |||
84 | #endif | 93 | #endif |