瀏覽代碼

SDL_loadso.h: add missing SDLCALL to SDL_LoadFunction()

Ozkan Sezer 2 年之前
父節點
當前提交
be2afeec84
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      include/SDL3/SDL_loadso.h

+ 1 - 2
include/SDL3/SDL_loadso.h

@@ -89,8 +89,7 @@ extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile);
  * \sa SDL_LoadObject
  * \sa SDL_UnloadObject
  */
-extern DECLSPEC SDL_FunctionPointer SDL_LoadFunction(void *handle,
-                                                     const char *name);
+extern DECLSPEC SDL_FunctionPointer SDLCALL SDL_LoadFunction(void *handle, const char *name);
 
 /**
  * Unload a shared object from memory.