]> git.pld-linux.org Git - packages/SDL_sound.git/blob - SDL_sound-physfs.patch
- SDL2_sound note
[packages/SDL_sound.git] / SDL_sound-physfs.patch
1 --- SDL_sound-1.0.3/playsound/physfsrwops.h.orig        2008-04-17 19:56:21.000000000 +0200
2 +++ SDL_sound-1.0.3/playsound/physfsrwops.h     2020-12-28 19:11:16.822650378 +0100
3 @@ -39,7 +39,7 @@
4   *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
5   *           of the error can be gleaned from PHYSFS_getLastError().
6   */
7 -__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
8 +PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
9  
10  /**
11   * Open a platform-independent filename for writing, and make it accessible
12 @@ -51,7 +51,7 @@
13   *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
14   *           of the error can be gleaned from PHYSFS_getLastError().
15   */
16 -__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
17 +PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
18  
19  /**
20   * Open a platform-independent filename for appending, and make it accessible
21 @@ -63,7 +63,7 @@
22   *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
23   *           of the error can be gleaned from PHYSFS_getLastError().
24   */
25 -__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
26 +PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
27  
28  /**
29   * Make a SDL_RWops from an existing PhysicsFS file handle. You should
30 @@ -75,7 +75,7 @@
31   *  @return A valid SDL_RWops structure on success, NULL on error. Specifics
32   *           of the error can be gleaned from PHYSFS_getLastError().
33   */
34 -__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
35 +PHYSFS_DECL SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
36  
37  #ifdef __cplusplus
38  }
This page took 0.046793 seconds and 3 git commands to generate.