API declaration fix

This commit is contained in:
Evgeny
2018-06-19 11:22:32 -05:00
rodzic 6d6cf059b0
commit 5c5cc0c63f
+1 -1
Wyświetl plik
@@ -429,7 +429,7 @@ PUBLIC_API roctracer_status_t roctracer_disable_api_callback(
}
// Return default pool and set new one if parameter pool is not NULL.
roctracer_pool_t* roctracer_default_pool(roctracer_pool_t* pool) {
PUBLIC_API roctracer_pool_t* roctracer_default_pool(roctracer_pool_t* pool) {
roctracer_pool_t* p = reinterpret_cast<roctracer_pool_t*>(roctracer::memory_pool);
if (pool != NULL) roctracer::memory_pool = reinterpret_cast<roctracer::MemoryPool*>(pool);
if (p == NULL) EXC_RAISING(ROCTRACER_STATUS_UNINIT, "default pool is not initialized");