MCPcopy Index your code
hub / github.com/assaultcube/AC / rwops

Method rwops

source/src/stream.cpp:523–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523SDL_RWops *stream::rwops()
524{
525 SDL_RWops *rw = SDL_AllocRW();
526 if(!rw) return NULL;
527 rw->hidden.unknown.data1 = this;
528 rw->seek = rwopsseek;
529 rw->read = rwopsread;
530 rw->write = rwopswrite;
531 rw->close = rwopsclose;
532 return rw;
533}
534#endif
535
536long stream::size()

Callers 3

loadsurfaceFunction · 0.80
loadMethod · 0.80
mapscreenshotFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected