Added IPC and lua definitions

This commit is contained in:
Anonymous275
2022-01-27 02:43:35 +02:00
parent bea720d0b7
commit 6c11de2708
8 changed files with 181 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
///
/// Created by Anonymous275 on 1/27/22
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#pragma once
typedef struct lua_State lua_State;
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);
}