MCPcopy Create free account
hub / github.com/ZDoom/Raze / IsWritable

Method IsWritable

source/common/scripting/backend/codegen.cpp:188–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188bool FCompileContext::IsWritable(int flags, int checkFileNo)
189{
190 return !(flags & VARF_ReadOnly) || ((flags & VARF_InternalAccess) && fileSystem.GetFileContainer(Lump) == checkFileNo);
191}
192
193FxLocalVariableDeclaration *FCompileContext::FindLocalVariable(FName name)
194{

Callers 1

RequestAddressMethod · 0.80

Calls 1

GetFileContainerMethod · 0.80

Tested by

no test coverage detected