MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE gds__alloc

Function API_ROUTINE gds__alloc

src/yvalve/gds.cpp:4094–4104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4092#undef gds__alloc
4093
4094VoidPtr API_ROUTINE gds__alloc(SLONG size_request)
4095{
4096 try
4097 {
4098 return getDefaultMemoryPool()->allocate(size_request ALLOC_ARGS);
4099 }
4100 catch (const Firebird::Exception&)
4101 {
4102 return NULL;
4103 }
4104}
4105
4106class InitPrefix
4107{

Callers

nothing calls this directly

Calls 2

getDefaultMemoryPoolFunction · 0.85
allocateMethod · 0.45

Tested by

no test coverage detected