MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / AllocStatusPool

Function AllocStatusPool

src/gpre/languages/fbrmclib.cpp:279–282  ·  view source on GitHub ↗

Allocate an ISC_STATUS array to hold the status vector of isc_* functions. For convenience this is allocated from the string pool since there is only ever one per function call and there is no need to set up a separate pool

Source from the content-addressed store, hash-verified

277// For convenience this is allocated from the string pool since there is only
278// ever one per function call and there is no need to set up a separate pool
279static ISC_STATUS* AllocStatusPool()
280{
281 return (ISC_STATUS*) AllocStringPool(sizeof(ISC_STATUS_ARRAY));
282}
283
284// Return a Cobol argument as a C string. Trailing spaces are truncated.
285static ISC_UCHAR* CobolToString(const argument_entry *arg)

Callers 1

RM_ENTRYFunction · 0.85

Calls 1

AllocStringPoolFunction · 0.85

Tested by

no test coverage detected