Jebbs / DSFML

DSFML is a D binding of SFML
Other
95 stars 23 forks source link

Deprecate using string/char and wstring/wchar when interfacing with SFML #299

Closed Jebbs closed 6 years ago

Jebbs commented 6 years ago

All strings are converted to dstrings before being sent to SFML, and requiring that users only use dstrings would simplify a lot of the implementation.

I think they should be required. Most of the time it shouldn't affect users at all except for using more memory.

Jebbs commented 6 years ago

This should also go hand in hand with #252 since the convert functions will no longer be used.

Jebbs commented 6 years ago

For 2.4, this will mean deprecating all functions that that take in anything other than a dstring. #302 was added to completely remove them in 2.5.