Closed adamlwgriffiths closed 3 years ago
@adamlwgriffiths The type annotations still need a good revision, like many other things. There are places where Array types seem to work better with ctypes and some other places where any sequence type will do.
Thanks!
Array is probably the correct type, but it doesn't work as an annotation and causes errors at import time. I'm not sure what they appropriate annotation is, there's some conjecture in SO answers so I just used MutableSequence. I don't use the annotations myself I just needed it to import cleanly.
Using "Array[type]" as an annotation causes errors. So let's use a different annotation. Here I've used "MutableSequence", although there may be a better one and I'm happy to change this to something better.
This combined with #31 get Raylib running on Linux using NixOS.