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

Function API_ROUTINE gds__alloc_debug

src/yvalve/gds.cpp:267–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265static gds_msg* global_default_msg = NULL;
266
267VoidPtr API_ROUTINE gds__alloc_debug(SLONG size_request, const TEXT* filename, ULONG lineno)
268{
269 try
270 {
271 return getDefaultMemoryPool()->allocate(size_request
272#ifdef DEBUG_GDS_ALLOC
273 , filename, lineno
274#endif
275 );
276 }
277 catch (const Firebird::Exception&)
278 {
279 return NULL;
280 }
281}
282
283ULONG API_ROUTINE gds__free(void* blk)
284{

Callers

nothing calls this directly

Calls 2

getDefaultMemoryPoolFunction · 0.85
allocateMethod · 0.45

Tested by

no test coverage detected