diff options
author | Mike Pall <mike> | 2013-08-31 19:38:20 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-08-31 19:38:20 +0200 |
commit | 19c2dd17dbaf66f1341efe2a71a26f0b5724f9e1 (patch) | |
tree | 4bb1f9bed90610f20b75855b431561bf1145bbbd /src/lj_strfmt.h | |
parent | 517500ba48a290699d5a2ec7465bf76a5109c49f (diff) | |
download | luajit-19c2dd17dbaf66f1341efe2a71a26f0b5724f9e1.tar.gz luajit-19c2dd17dbaf66f1341efe2a71a26f0b5724f9e1.tar.bz2 luajit-19c2dd17dbaf66f1341efe2a71a26f0b5724f9e1.zip |
Add common helper for pointer to string formatting.
Diffstat (limited to 'src/lj_strfmt.h')
-rw-r--r-- | src/lj_strfmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_strfmt.h b/src/lj_strfmt.h index 5454336f..4bbdd4a7 100644 --- a/src/lj_strfmt.h +++ b/src/lj_strfmt.h | |||
@@ -93,6 +93,7 @@ LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putint(SBuf *sb, int32_t k); | |||
93 | #if LJ_HASJIT | 93 | #if LJ_HASJIT |
94 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putnum(SBuf *sb, cTValue *o); | 94 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putnum(SBuf *sb, cTValue *o); |
95 | #endif | 95 | #endif |
96 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putptr(SBuf *sb, const void *v); | ||
96 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putquoted(SBuf *sb, GCstr *str); | 97 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putquoted(SBuf *sb, GCstr *str); |
97 | 98 | ||
98 | /* Formatted conversions to buffer. */ | 99 | /* Formatted conversions to buffer. */ |