在waxPath(https://github.com/mmin18/WaxPatch) 的基础上,创建一个demo,并试着修改了64bit的问题;
参考https://github.com/felipejfc/wax_x86-64 进一步修复,支持回调使用
arm64设备crash问题已修复
arm64设备 delegate crash问题已修复
WaxPatch x64 arm64
在waxPath(https://github.com/mmin18/WaxPatch) 的基础上,创建一个demo,并试着修改了64bit的问题;
参考https://github.com/felipejfc/wax_x86-64 进一步修复,支持回调使用
arm64设备crash问题已修复
arm64设备 delegate crash问题已修复
我这边试了一下,包括felipejfc的版本,都是有问题的,在替换class method和lua函数有返回值得情况下,都是有问题的,是否可以邮件联系,一起研究?(我邮件:[email protected])
你可以在lua文件里创建一个button,设置它的frame,你会发现这个frame不对,原因应该是不支持64位的原因
hi maxfong
我把你项目里的wax路径下的文件全部拷贝到我自己的demo中。模仿你的写法,试着运行了一下。报了:
Error opening wax scripts: /Users/maxfong/Desktop/1/stdlib/waxClass.lua:28: Can't override method with return type d
这样的错误。
我发现是在我的项目中wax.m,139行:
if (luaL_dostring(L, appLoadString) != 0) {
fprintf(stderr,"Error opening wax scripts: %s\n", lua_tostring(L,-1));
}
是这里的问题。
请问,我哪里做错了呢?感激!
另:
是否是我的wax_stdlib_64.h需要重新生成?但是我使用你的wax_stdlib_x64项目的compile-stdlib.sh,却报了:hexdump:wax.dat:No such file or directory的错误。
比如只有2个参数,param3-5都是野指针,崩在wax_fromInstance
64位环境测试时基本功能ok了,wax_fromInstance()的crash已被修复,很赞~
但是切回32位环境时出现了同样位置的闪退,请问有人遇到吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.