Explorar el Código

We should only mark functions as inline if necessary for performance

Sam Lantinga hace 2 años
padre
commit
581f1ca5c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/file/SDL_rwops.c

+ 1 - 1
src/file/SDL_rwops.c

@@ -436,7 +436,7 @@ stdio_close(SDL_RWops * context)
     return status;
 }
 
-static SDL_INLINE SDL_RWops *
+static SDL_RWops *
 SDL_RWFromFP(void *fp, SDL_bool autoclose)
 {
     SDL_RWops *rwops = NULL;