Home | History | Annotate | Download | only in include

Lines Matching defs:read

24  *  This file provides a general interface for SDL to read and write
40 /** This is the read/write operation structure -- very basic */
49 /** Read up to 'maxnum' objects each of size 'size' from the data
51 * Returns the number of objects read, or -1 if the read failed.
53 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum);
116 #define RW_SEEK_CUR 1 /**< Seek relative to current read point */
120 /** @name Macros to easily read and write from an SDL_RWops structure */
124 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
129 /** @name Read an item of the specified endianness and return in native format */