src/lobject.c
static void pushstr (BuffFS *buff, const char *str, size_t l) {
  lua_State *L = buff->L;
  setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
  L->top++;  /* may use one extra slot */
  buff->pushed++;
  if (buff->pushed > 1 && L->top + 1 >= L->stack_last) {
    luaV_concat(L, buff->pushed);  /* join all partial results into one */
    buff->pushed = 1;
  }
}
/*
** Push given string to the stack, as part of the buffer. If the stack
** is almost full, join all partial strings in the stack into one.
*/
Push given string to the stack, as part of the buffer. If the stack
is almost full, join all partial strings in the stack into one.
Push given string to the stack as part of the buffer . If the stack is almost full join all partial strings in the stack into one .
static void pushstr (BuffFS *buff, const char *str, size_t l) {
  lua_State *L = buff->L;
  setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
  L->top++;  
  buff->pushed++;
  if (buff->pushed > 1 && L->top + 1 >= L->stack_last) {
    luaV_concat(L, buff->pushed);  
    buff->pushed = 1;
  }
}
static void pushstr ( BuffFS * buff , const char * str , size_t l ) { lua_State * L = buff -> L ; setsvalue2s ( L , L -> top , luaS_newlstr ( L , str , l ) ) ; L -> top ++ ; buff -> pushed ++ ; if ( buff -> pushed > 1 && L -> top + 1 >= L -> stack_last ) { luaV_concat ( L , buff -> pushed ) ; buff -> pushed = 1 ; } }
Push given string to the stack, as part of the buffer.
Push given string to the stack as part of the buffer .
/* may use one extra slot */ /* join all partial results into one */