aboutsummaryrefslogtreecommitdiff
path: root/src/lj_buf.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-04-26 00:31:10 +0200
committerMike Pall <mike>2013-04-26 00:31:10 +0200
commit61cb25b0ca19f75be49373969d6dc3daa646d3aa (patch)
treecdd154fec85b54e42c429289791c9aa86877b3df /src/lj_buf.h
parenteeb204cd87a58f8a6e29022ea30aaba877acb2e0 (diff)
downloadluajit-61cb25b0ca19f75be49373969d6dc3daa646d3aa.tar.gz
luajit-61cb25b0ca19f75be49373969d6dc3daa646d3aa.tar.bz2
luajit-61cb25b0ca19f75be49373969d6dc3daa646d3aa.zip
Refactor string.reverse(), string.lower(), string.upper().
Diffstat (limited to 'src/lj_buf.h')
-rw-r--r--src/lj_buf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lj_buf.h b/src/lj_buf.h
index 426ec720..98bcad20 100644
--- a/src/lj_buf.h
+++ b/src/lj_buf.h
@@ -31,8 +31,11 @@ LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putstr(SBuf *sb, GCstr *s);
31LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c); 31LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putchar(SBuf *sb, int c);
32LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putint(SBuf *sb, int32_t k); 32LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putint(SBuf *sb, int32_t k);
33LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putnum(SBuf *sb, cTValue *o); 33LJ_FUNC SBuf * LJ_FASTCALL lj_buf_putnum(SBuf *sb, cTValue *o);
34LJ_FUNC GCstr * LJ_FASTCALL lj_buf_tostr(SBuf *sb);
35#endif 34#endif
35LJ_FUNCA SBuf * LJ_FASTCALL lj_buf_putstr_reverse(SBuf *sb, GCstr *s);
36LJ_FUNCA SBuf * LJ_FASTCALL lj_buf_putstr_lower(SBuf *sb, GCstr *s);
37LJ_FUNCA SBuf * LJ_FASTCALL lj_buf_putstr_upper(SBuf *sb, GCstr *s);
38LJ_FUNCA GCstr * LJ_FASTCALL lj_buf_tostr(SBuf *sb);
36LJ_FUNC uint32_t LJ_FASTCALL lj_buf_ruleb128(const char **pp); 39LJ_FUNC uint32_t LJ_FASTCALL lj_buf_ruleb128(const char **pp);
37LJ_FUNC char * LJ_FASTCALL lj_buf_wuleb128(char *p, uint32_t v); 40LJ_FUNC char * LJ_FASTCALL lj_buf_wuleb128(char *p, uint32_t v);
38 41