# lstring.c File Reference

`#include <string.h>`
`#include "lua.h"`
`#include "lmem.h"`
`#include "lobject.h"`
`#include "lstate.h"`
`#include "lstring.h"`

## Defines
#define | lstring_c
#define | LUA_CORE
## Functions
void | luaS_resize (lua_State *L, int newsize)
static TString * | newlstr (lua_State *L, const char *str, size_t l, unsigned int h)
TString * | luaS_newlstr (lua_State *L, const char *str, size_t l)
Udata * | luaS_newudata (lua_State *L, size_t s, Table *e)

## Define Documentation

#define lstring_c

#define LUA_CORE

## Function Documentation

TString* luaS_newlstr | ( | lua_State * | L,
|  | const char * | str,
|  | size_t | l |
| ) |  |  |

Udata* luaS_newudata | ( | lua_State * | L,
|  | size_t | s,
|  | Table * | e |
| ) |  |  |

void luaS_resize | ( | lua_State * | L,
|  | int | newsize |
| ) |  |  |

static TString* newlstr | ( | lua_State * | L,
|  | const char * | str,
|  | size_t | l,
|  | unsigned int | h |
| ) |  |  | `[static]`