MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlBufGetAllocationScheme

Function xmlBufGetAllocationScheme

ThirdParty/libxml2/vtklibxml2/buf.c:223–229  ·  view source on GitHub ↗

* xmlBufGetAllocationScheme: * @buf: the buffer * * Get the buffer allocation scheme * * Returns the scheme or -1 in case of error */

Source from the content-addressed store, hash-verified

221 * Returns the scheme or -1 in case of error
222 */
223int
224xmlBufGetAllocationScheme(xmlBufPtr buf) {
225 if (buf == NULL) {
226 return(-1);
227 }
228 return(buf->alloc);
229}
230
231/**
232 * xmlBufSetAllocationScheme:

Callers 1

xmlBufNodeDumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected