MCPcopy Create free account
hub / github.com/anjo76/angelscript / SetPos

Method SetPos

sdk/add_on/scriptfile/scriptfile.cpp:362–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362int CScriptFile::SetPos(int pos)
363{
364 if( file == 0 )
365 return -1;
366
367 int r = fseek(file, pos, SEEK_SET);
368
369 // Return -1 on error
370 return r ? -1 : 0;
371}
372
373int CScriptFile::MovePos(int delta)
374{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected