Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Cairo.Matrix should be struct? #274

Open
gthzrsfk opened this issue Jun 2, 2019 · 1 comment
Open

Cairo.Matrix should be struct? #274

gthzrsfk opened this issue Jun 2, 2019 · 1 comment

Comments

@gthzrsfk
Copy link

gthzrsfk commented Jun 2, 2019

It is a class with StructLayoutAttribute and the == operator does not check for null, so it causes NullReferenceException.

@Therzok
Copy link
Contributor

Therzok commented Jun 2, 2019

@GatoDev good observation, thank you! We can add a null check, but we can't really break the API/ABI here.

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

No branches or pull requests

2 participants