pike.git / src / post_modules / Shuffler / a_source_system_memory.c

version» Context lines:

pike.git/src/post_modules/Shuffler/a_source_system_memory.c:16:    * Argument: An initialized instance of the System.Memory class    */   static struct program *shm_program = NULL;      struct sm_source   {    struct source s;       struct object *obj;    struct { -  unsigned char *data; +  char *data;    size_t len;    } *mem;       int offset, len;   };      static struct data get_data( struct source *src, off_t len )   {    struct sm_source *s = (struct sm_source *)src;    struct data res;