Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify all size_t arguments to use UIntPtr #238

Closed
wants to merge 1 commit into from

Commits on Jan 3, 2024

  1. Unify all size_t arguments to use UIntPtr

    Addresses SFML#212
    * Updated to use a SIZE_T "macro" where CSFML is expecting `size_t`
    * `using SIZE_T = UIntPtr;` is at the beginning of each file that will P/Invoke functions with `size_t` signatures
    * SIZE_T is currently typedef'd to `UIntPtr` but this can be changed when `nuint` becomes 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
    DemoXinMC committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    f412143 View commit details
    Browse the repository at this point in the history