wasabi
Change the struct size based on current architecture
Because that is the ONE and only one thing that can be both discovered by the runtime, and inferred about external libraries: native pointer size (and to be fair there are even exceptions about that).
102 replies
Change the struct size based on current architecture
You have code which is fundamentally a different layout on different architectures. From your little example, actual fields are missing. That means anybody interacting with that interface inherits that burden.
102 replies