mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-10 09:46:16 +00:00
Network, bug fixes, more patters, GELua and a lot more
This commit is contained in:
@@ -4,12 +4,20 @@
|
||||
///
|
||||
|
||||
#pragma once
|
||||
typedef struct lua_State lua_State;
|
||||
#include <cstdint>
|
||||
|
||||
typedef struct lua_State lua_State;
|
||||
typedef int (*lua_CFunction)(lua_State*);
|
||||
extern int lua_gettop(lua_State *L);
|
||||
namespace def {
|
||||
typedef unsigned long (*GetTickCount)();
|
||||
typedef int (*lua_open_jit)(lua_State* L);
|
||||
typedef void (*lua_get_field)(lua_State* L, int idx, const char* k);
|
||||
typedef const char* (*lua_push_fstring)(lua_State* L, const char* fmt, ...);
|
||||
typedef int(*lua_p_call)(lua_State* L, int arg, int res, int err);
|
||||
typedef int (*lua_p_call)(lua_State* L, int arg, int res, int err);
|
||||
typedef void (*lua_pushcclosure)(lua_State* L, lua_CFunction fn, int n);
|
||||
typedef void (*lua_settable)(lua_State* L, int idx);
|
||||
typedef void (*lua_createtable)(lua_State* L, int narray, int nrec);
|
||||
typedef void (*lua_setfield)(lua_State* L, int idx, const char* k);
|
||||
typedef const char* (*lua_tolstring)(lua_State* L, int idx, size_t* len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user