xLua icon indicating copy to clipboard operation
xLua copied to clipboard

memory_leak_checker怎么使用的,有教程吗

Open ChamBean opened this issue 4 years ago • 4 comments

如题

ChamBean avatar Aug 19 '21 12:08 ChamBean

这有示例:https://github.com/Tencent/xLua/blob/master/General/LuaMemoryLeakChecker/LuaMemoryLeakCheckerTest.cs

chexiongsheng avatar Sep 03 '21 01:09 chexiongsheng

这个工具是不是不支持luajit? 我看到CMakeList里面有这么一句: if (NOT USING_LUAJIT) list (APPEND XLUA_CORE memory_leak_checker.c) endif ( )

myangel0258 avatar Oct 31 '23 07:10 myangel0258

这个工具是不是不支持luajit? 我看到CMakeList里面有这么一句: if (NOT USING_LUAJIT) list (APPEND XLUA_CORE memory_leak_checker.c) endif ( )

调用的api是lua内部api,luajit应该没有完全一样的,不过有可能有类似的,可以参考文章的思路适配下luajit。

chexiongsheng avatar Oct 31 '23 07:10 chexiongsheng

这个工具是不是不支持luajit? 我看到CMakeList里面有这么一句: if (NOT USING_LUAJIT) list (APPEND XLUA_CORE memory_leak_checker.c) endif ( )

调用的api是lua内部api,luajit应该没有完全一样的,不过有可能有类似的,可以参考文章的思路适配下luajit。

感谢大佬的秒回复,我照着你的思路改改。

myangel0258 avatar Oct 31 '23 07:10 myangel0258