MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Malloc

Method Malloc

src/script/squirrel.cpp:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 void *Malloc(SQUnsignedInteger size)
119 {
120 this->CheckAllocationAllowed(size);
121 return this->DoAlloc(size);
122 }
123
124 void *Realloc(void *p, SQUnsignedInteger oldsize, SQUnsignedInteger size)
125 {

Callers 2

ReallocMethod · 0.95
sq_vm_mallocFunction · 0.80

Calls 2

DoAllocMethod · 0.95

Tested by

no test coverage detected