diff include/SDL_rwops.h @ 764:974c0fb74bf8

Added function to create RWops from const memory: SDL_RWFromConstMem()
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2004 15:18:08 +0000
parents 9154ec9ca3d2
children b8d311d90021
line wrap: on
line diff
--- a/include/SDL_rwops.h	Sun Jan 04 15:11:35 2004 +0000
+++ b/include/SDL_rwops.h	Sun Jan 04 15:18:08 2004 +0000
@@ -92,6 +92,7 @@
 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose);
 
 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size);
+extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
 
 extern DECLSPEC SDL_RWops * SDLCALL SDL_AllocRW(void);
 extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops *area);