src/core/android/SDL_android.h
changeset 5582 1281a3f1f0a6
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/core/android/SDL_android.h	Wed Jul 27 18:07:40 2011 -0400
     1.2 +++ b/src/core/android/SDL_android.h	Fri Jul 29 16:51:25 2011 -0400
     1.3 @@ -39,6 +39,14 @@
     1.4  extern void Android_JNI_WriteAudioBuffer();
     1.5  extern void Android_JNI_CloseAudioDevice();
     1.6  
     1.7 +#include "SDL_rwops.h"
     1.8 +
     1.9 +int Android_JNI_FileOpen(SDL_RWops* ctx, const char* fileName, const char* mode);
    1.10 +long Android_JNI_FileSeek(SDL_RWops* ctx, long offset, int whence);
    1.11 +size_t Android_JNI_FileRead(SDL_RWops* ctx, void* buffer, size_t size, size_t maxnum);
    1.12 +size_t Android_JNI_FileWrite(SDL_RWops* ctx, const void* buffer, size_t size, size_t num);
    1.13 +int Android_JNI_FileClose(SDL_RWops* ctx);
    1.14 +
    1.15  /* Ends C function definitions when using C++ */
    1.16  #ifdef __cplusplus
    1.17  /* *INDENT-OFF* */