≈ the.bay.news

Extern struct cannot hold vector since 0.17?

Ziggit
Extern struct cannot hold vector since 0.17?
Hello, I guess this is a 0.17 change? I error: extern structs cannot contain fields of type '@Vector(2, f32)' // I understand the following: note: vectors have no guaranteed in-memory representation // But I didn't seen in the release notes if there was a prefered way to handle these? On the ObjectiveC side of my codebase, It is defined as vector_float2 in that case. I have no idea of conversion will be costless on either zig or objc side ?

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.