Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,还是不支持64位啊 #2

Open
DeanCarter opened this issue Apr 27, 2015 · 1 comment
Open

你好,还是不支持64位啊 #2

DeanCarter opened this issue Apr 27, 2015 · 1 comment

Comments

@DeanCarter
Copy link

你可以在lua文件里创建一个button,设置它的frame,你会发现这个frame不对,原因应该是不支持64位的原因

@zdl51go
Copy link

zdl51go commented Apr 28, 2015

-- 增加对64位下结构体的支持
wax.struct.create("CGRect","dddd", "x", "y", "width","height")
wax.struct.create("CGSize", "dd", "width", "height")
wax.struct.create("CGPoint", "dd", "x", "y")
wax.struct.create("UIEdgeInsets", "dddd", "top", "left", "bottom", "right")
wax.struct.create("NSRange", "II", "location", "length")
wax.struct.create("CLLocationCoordinate2D", "dd", "latitude", "longitude")
wax.struct.create("MKCoordinateSpan", "dd", "latitudeDelta", "longitudeDelta")
wax.struct.create("MKCoordinateRegion", "dddd", "latitude", "longitude", "latitudeDelta", "longitudeDelta")
wax.struct.create("CGAffineTransform", "dddddd", "a", "b", "c", "d", "tx", "ty")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants