include/SDL_system.h
changeset 8851 a7cfe554d337
parent 8719 135b8fef4adb
child 8877 0d691f3734ac
     1.1 --- a/include/SDL_system.h	Sun Jun 08 12:05:17 2014 -0700
     1.2 +++ b/include/SDL_system.h	Sun Jun 08 18:18:13 2014 -0300
     1.3 @@ -179,6 +179,22 @@
     1.4  
     1.5  #endif /* __WINRT__ */
     1.6  
     1.7 +#ifdef __NACL__
     1.8 +
     1.9 +/**
    1.10 + *  \name Mount/umount functions
    1.11 + *
    1.12 + *  Required for RWOps on Native Client
    1.13 + */
    1.14 +/* @{ */
    1.15 +extern DECLSPEC int SDLCALL SDL_NaClMount(const char* source, const char* target, 
    1.16 +                                        const char* filesystemtype, 
    1.17 +                                        unsigned long mountflags, const void *data);
    1.18 +
    1.19 +extern DECLSPEC int SDLCALL SDL_NaClUmount(const char *target);
    1.20 +
    1.21 +#endif /* __NACL__ */
    1.22 +
    1.23  
    1.24  /* Ends C function definitions when using C++ */
    1.25  #ifdef __cplusplus