MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_memory_manager_set_shutdown_fn

Function af_memory_manager_set_shutdown_fn

src/api/c/memory.cpp:565–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565af_err af_memory_manager_set_shutdown_fn(af_memory_manager handle,
566 af_memory_manager_shutdown_fn fn) {
567 try {
568 MemoryManager &manager = getMemoryManager(handle);
569 manager.shutdown_fn = fn;
570 }
571 CATCHALL;
572
573 return AF_SUCCESS;
574}
575
576af_err af_memory_manager_set_alloc_fn(af_memory_manager handle,
577 af_memory_manager_alloc_fn fn) {

Callers 2

SetUpMethod · 0.50
TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected