Fix profiler/hook interaction.

This commit is contained in:
Mike Pall
2013-09-18 15:27:28 +02:00
parent a51b8bf6b4
commit eec06a0e3b
3 changed files with 40 additions and 0 deletions

View File

@@ -11,6 +11,10 @@
#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