String buffer refactoring, part 1.

Move string buffer handling to lj_buf.*.
Use common buffer resizing function.
This commit is contained in:
Mike Pall
2013-02-27 17:11:31 +01:00
parent d44337a566
commit 28cfcf7744
22 changed files with 197 additions and 184 deletions

View File

@@ -10,6 +10,7 @@
#include "lj_obj.h"
#include "lj_err.h"
#include "lj_buf.h"
/* Lua lexer tokens. */
#define TKDEF(_, __) \