Subversion Repositories Kolibri OS

Rev

Rev 8209 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8209 Rev 9561
Line 94... Line 94...
94
extern DECLSPEC SDL_RWops * SDL_RWFromMem(void *mem, int size);
94
extern DECLSPEC SDL_RWops * SDL_RWFromMem(void *mem, int size);
Line 95... Line 95...
95
 
95
 
96
extern DECLSPEC SDL_RWops * SDL_AllocRW(void);
96
extern DECLSPEC SDL_RWops * SDL_AllocRW(void);
Line -... Line 97...
-
 
97
extern DECLSPEC void SDL_FreeRW(SDL_RWops *area);
-
 
98
 
-
 
99
#define RW_SEEK_SET	SEEK_SET	/**< Seek from the beginning of data */
-
 
100
#define RW_SEEK_CUR	SEEK_CUR	/**< Seek relative to current read point */
97
extern DECLSPEC void SDL_FreeRW(SDL_RWops *area);
101
#define RW_SEEK_END	SEEK_END	/**< Seek relative to the end of data */
98
 
102
 
99
/* Macros to easily read and write from an SDL_RWops structure */
103
/* Macros to easily read and write from an SDL_RWops structure */
100
#define SDL_RWseek(ctx, offset, whence)	(ctx)->seek(ctx, offset, whence)
104
#define SDL_RWseek(ctx, offset, whence)	(ctx)->seek(ctx, offset, whence)
101
#define SDL_RWtell(ctx)			(ctx)->seek(ctx, 0, SEEK_CUR)
105
#define SDL_RWtell(ctx)			(ctx)->seek(ctx, 0, SEEK_CUR)