Add common helper for pointer to string formatting.

This commit is contained in:
Mike Pall
2013-08-31 19:38:20 +02:00
parent 517500ba48
commit 19c2dd17db
3 changed files with 9 additions and 4 deletions

View File

@@ -93,6 +93,7 @@ LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putint(SBuf *sb, int32_t k);
#if LJ_HASJIT
LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putnum(SBuf *sb, cTValue *o);
#endif
LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putptr(SBuf *sb, const void *v);
LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putquoted(SBuf *sb, GCstr *str);
/* Formatted conversions to buffer. */