SFML.Net
SFML.Net copied to clipboard
Unify all size_t arguments to use UIntPtr
Addresses #212
-
Updated to use a
SIZE_T"typedef" where CSFML is expectingsize_t -
using SIZE_T = UIntPtr;is at the beginning of each file that will P/Invoke functions withsize_tsignatures -
SIZE_Tis currently typedef'd toUIntPtrbut this can be changed whennuintbecomes available to SFML.NET (.NET 5+) -
Since all changes are within protected/private code, this should not represent a breaking change for end-users
-
Implemented Font(byte[]) properly using sfFont_createFromMemory() instead of creating a new MemoryStream