Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "ldo.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "lvm.h"
Go to the source code of this file.
Macros | |
#define | lobject_c |
#define | LUA_CORE |
Functions | |
int | luaO_int2fb (unsigned int x) |
int | luaO_fb2int (int x) |
int | luaO_log2 (unsigned int x) |
int | luaO_rawequalObj (const TValue *t1, const TValue *t2) |
int | luaO_str2d (const char *s, lua_Number *result) |
static void | pushstr (lua_State *L, const char *str) |
const char * | luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) |
const char * | luaO_pushfstring (lua_State *L, const char *fmt,...) |
void | luaO_chunkid (char *out, const char *source, size_t bufflen) |
Variables | |
const TValue | luaO_nilobject_ = {{NULL}, LUA_TNIL} |
#define lobject_c |
Definition at line 13 of file lua-5.1.5/src/lobject.c.
#define LUA_CORE |
Definition at line 14 of file lua-5.1.5/src/lobject.c.
void luaO_chunkid | ( | char * | out, |
const char * | source, | ||
size_t | bufflen ) |
Definition at line 182 of file lua-5.1.5/src/lobject.c.
References bufflen.
Referenced by addinfo(), addinfo(), funcinfo(), funcinfo(), funcinfo(), funcinfo(), info_tailcall(), lexerror(), luaG_addinfo(), and luaX_lexerror().
int luaO_fb2int | ( | int | x | ) |
Definition at line 47 of file lua-5.1.5/src/lobject.c.
Referenced by luaV_execute(), and luaV_execute().
int luaO_int2fb | ( | unsigned int | x | ) |
Definition at line 35 of file lua-5.1.5/src/lobject.c.
References cast_int.
Referenced by constructor(), constructor(), and constructor().
int luaO_log2 | ( | unsigned int | x | ) |
Definition at line 54 of file lua-5.1.5/src/lobject.c.
const char * luaO_pushfstring | ( | lua_State * | L, |
const char * | fmt, | ||
... ) |
Definition at line 172 of file lua-5.1.5/src/lobject.c.
References luaO_pushvfstring().
Referenced by addinfo(), addinfo(), check_match(), check_match(), check_match(), check_match(), check_readonly(), checkmode(), checkmode(), checkmode(), checkrepeated(), checkrepeated(), checkrepeated(), closegoto(), closegoto(), error(), error(), error(), error(), error_expected(), error_expected(), error_expected(), error_expected(), errorlimit(), errorlimit(), errorlimit(), errorlimit(), fchecksize(), fchecksize(), GCTM(), GCTM(), getlocalattribute(), jumpscopeerror(), lexerror(), lexerror(), lexerror(), luaG_addinfo(), luaX_lexerror(), luaX_token2str(), read_long_string(), read_long_string(), txtToken(), txtToken(), txtToken(), undefgoto(), undefgoto(), undefgoto(), varinfo(), and varinfo().
const char * luaO_pushvfstring | ( | lua_State * | L, |
const char * | fmt, | ||
va_list | argp ) |
Definition at line 111 of file lua-5.1.5/src/lobject.c.
References lua_State::base, cast, cast_int, cast_num, incr_top, luaS_newlstr(), luaV_concat(), NULL, pushstr(), s, setnvalue, setsvalue2s, svalue, and lua_State::top.
Referenced by lua_pushfstring(), lua_pushvfstring(), luaG_runerror(), and luaO_pushfstring().
Definition at line 72 of file lua-5.1.5/src/lobject.c.
References bvalue, gcvalue, iscollectable, lua_assert, LUA_TBOOLEAN, LUA_TLIGHTUSERDATA, LUA_TNIL, LUA_TNUMBER, luai_numeq, nvalue, pvalue, and ttype.
Referenced by addk(), call_orderTM(), findindex(), get_compTM(), lua_rawequal(), and luaH_get().
int luaO_str2d | ( | const char * | s, |
lua_Number * | result ) |
Definition at line 90 of file lua-5.1.5/src/lobject.c.
References cast, cast_num, lua_str2number, and s.
Referenced by luaV_tonumber(), read_numeral(), and trydecpoint().
|
static |
Definition at line 104 of file lua-5.1.5/src/lobject.c.
References incr_top, luaS_new, setsvalue2s, and lua_State::top.
Referenced by luaO_pushvfstring().