From efce5b6bd5c9d4f8214a71e0f7a7c35751710a4c Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Nov 2021 01:17:11 +0800 Subject: + tolua + lpeg --- .../tolua_runtime/luajit-2.1/src/lj_profile.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ThirdParty/tolua_runtime/luajit-2.1/src/lj_profile.h (limited to 'ThirdParty/tolua_runtime/luajit-2.1/src/lj_profile.h') diff --git a/ThirdParty/tolua_runtime/luajit-2.1/src/lj_profile.h b/ThirdParty/tolua_runtime/luajit-2.1/src/lj_profile.h new file mode 100644 index 0000000..0cccfd7 --- /dev/null +++ b/ThirdParty/tolua_runtime/luajit-2.1/src/lj_profile.h @@ -0,0 +1,21 @@ +/* +** Low-overhead profiling. +** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h +*/ + +#ifndef _LJ_PROFILE_H +#define _LJ_PROFILE_H + +#include "lj_obj.h" + +#if LJ_HASPROFILE + +LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L); +#if !LJ_PROFILE_SIGPROF +LJ_FUNC void LJ_FASTCALL lj_profile_hook_enter(global_State *g); +LJ_FUNC void LJ_FASTCALL lj_profile_hook_leave(global_State *g); +#endif + +#endif + +#endif -- cgit v1.1-26-g67d0