Parcourir la source

Correct name for SDL_CreateThreadWithStackSize()

d-musique il y a 11 mois
Parent
commit
535be42b1c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/README-migration.md

+ 1 - 1
docs/README-migration.md

@@ -1631,7 +1631,7 @@ becomes:
 
 ## SDL_thread.h
 
-SDL_CreateThreadWithStackSpace has been replaced with SDL_CreateThreadWithProperties.
+SDL_CreateThreadWithStackSize has been replaced with SDL_CreateThreadWithProperties.
 
 SDL_CreateThread and SDL_CreateThreadWithProperties now take beginthread/endthread function pointers on all platforms (ignoring them on most), and have been replaced with macros that hide this detail on all platforms. This works the same as before at the source code level, but the actual function signature that is called in SDL has changed. The library's exported symbol is SDL_CreateThreadRuntime, and looking for "SDL_CreateThread" in the DLL/Shared Library/Dylib will fail. You should not call this directly, but instead always use the macro!