Renamed DECLSPEC to SDL_DECLSPEC

This commit is contained in:
Sam Lantinga committed 2024-05-17 17:09:09 -07:00
1 parent 2cf32b0e0a
commit 6f2621438a
67 files changed
+1090 -1099

No files matched your search

+4 -4
View File
@@ -63,7 +63,7 @@ extern "C" {
* \sa SDL_ClearError
* \sa SDL_GetError
*/
extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
extern SDL_DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
/**
* Set an error indicating that memory allocation failed.
@@ -74,7 +74,7 @@ extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fm
*
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC int SDLCALL SDL_OutOfMemory(void);
extern SDL_DECLSPEC int SDLCALL SDL_OutOfMemory(void);
/**
* Retrieve a message about the last error that occurred on the current
@@ -111,7 +111,7 @@ extern DECLSPEC int SDLCALL SDL_OutOfMemory(void);
* \sa SDL_ClearError
* \sa SDL_SetError
*/
extern DECLSPEC const char *SDLCALL SDL_GetError(void);
extern SDL_DECLSPEC const char *SDLCALL SDL_GetError(void);
/**
* Clear any previous error message for this thread.
@@ -123,7 +123,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetError(void);
* \sa SDL_GetError
* \sa SDL_SetError
*/
extern DECLSPEC int SDLCALL SDL_ClearError(void);
extern SDL_DECLSPEC int SDLCALL SDL_ClearError(void);
/**
* \name Internal error functions