RetroArch
Macros | Functions
lstring.h File Reference
#include "lgc.h"
#include "lobject.h"
#include "lstate.h"
Include dependency graph for lstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define sizelstring(l)   (sizeof(union UTString) + ((l) + 1) * sizeof(char))
 
#define sizeludata(l)   (sizeof(union UUdata) + (l))
 
#define sizeudata(u)   sizeludata((u)->len)
 
#define luaS_newliteral(L, s)
 
#define isreserved(s)   ((s)->tt == LUA_TSHRSTR && (s)->extra > 0)
 
#define eqshrstr(a, b)   check_exp((a)->tt == LUA_TSHRSTR, (a) == (b))
 

Functions

LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed)
 
LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts)
 
LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b)
 
LUAI_FUNC void luaS_resize (lua_State *L, int newsize)
 
LUAI_FUNC void luaS_clearcache (global_State *g)
 
LUAI_FUNC void luaS_init (lua_State *L)
 
LUAI_FUNC void luaS_remove (lua_State *L, TString *ts)
 
LUAI_FUNC UdataluaS_newudata (lua_State *L, size_t s)
 
LUAI_FUNC TStringluaS_newlstr (lua_State *L, const char *str, size_t l)
 
LUAI_FUNC TStringluaS_new (lua_State *L, const char *str)
 
LUAI_FUNC TStringluaS_createlngstrobj (lua_State *L, size_t l)
 

Macro Definition Documentation

◆ eqshrstr

#define eqshrstr (   a,
  b 
)    check_exp((a)->tt == LUA_TSHRSTR, (a) == (b))

◆ isreserved

#define isreserved (   s)    ((s)->tt == LUA_TSHRSTR && (s)->extra > 0)

◆ luaS_newliteral

#define luaS_newliteral (   L,
  s 
)
Value:
(luaS_newlstr(L, "" s, \
(sizeof(s)/sizeof(char))-1))
GLdouble s
Definition: glext.h:6390
LUAI_FUNC TString * luaS_newlstr(lua_State *L, const char *str, size_t l)
Definition: lstring.c:199
Ιστορικό Εικόνα Πληροφορίες Όλοι Οι Χρήστες Χειρίζονται Το Μενού Αριστερό Αναλογικό Αριστερό Αναλογικό Αριστερό Αναλογικό Y Αριστερό Αναλογικό Δεξί Αναλογικό X Δεξί Αναλογικό Δεξί Αναλογικό Y Δεξί Αναλογικό Σκανδάλη Όπλου Όπλο Aux A Όπλο Aux C Όπλο Select Όπλο D pad Κάτω Όπλο D pad Δεξιά Νεκρή Ζώνη Αναλογικού Σύνδεση Όλων Λήξη Χρόνου Σύνδεσης Hide Unbound Core Input Descriptors Κατάλογος Συσκευών Κατάλογος Ποντικιού Duty Cycle Keyboard Gamepad Mapping Enable Κουμπί D pad κάτω Κουμπί Κουμπί L(πίσω)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_LEFT

◆ sizelstring

#define sizelstring (   l)    (sizeof(union UTString) + ((l) + 1) * sizeof(char))

◆ sizeludata

#define sizeludata (   l)    (sizeof(union UUdata) + (l))

◆ sizeudata

#define sizeudata (   u)    sizeludata((u)->len)

Function Documentation

◆ luaS_clearcache()

LUAI_FUNC void luaS_clearcache ( global_State g)
Here is the caller graph for this function:

◆ luaS_createlngstrobj()

LUAI_FUNC TString* luaS_createlngstrobj ( lua_State L,
size_t  l 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_eqlngstr()

LUAI_FUNC int luaS_eqlngstr ( TString a,
TString b 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_hash()

LUAI_FUNC unsigned int luaS_hash ( const char *  str,
size_t  l,
unsigned int  seed 
)
Here is the caller graph for this function:

◆ luaS_hashlongstr()

LUAI_FUNC unsigned int luaS_hashlongstr ( TString ts)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_init()

LUAI_FUNC void luaS_init ( lua_State L)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_new()

LUAI_FUNC TString* luaS_new ( lua_State L,
const char *  str 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_newlstr()

LUAI_FUNC TString* luaS_newlstr ( lua_State L,
const char *  str,
size_t  l 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_newudata()

LUAI_FUNC Udata* luaS_newudata ( lua_State L,
size_t  s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_remove()

LUAI_FUNC void luaS_remove ( lua_State L,
TString ts 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaS_resize()

LUAI_FUNC void luaS_resize ( lua_State L,
int  newsize 
)
Here is the call graph for this function:
Here is the caller graph for this function: