1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-09 21:02:14 +02:00
libnx/nx/include/switch/runtime/diag.h

16 lines
318 B
C

/**
* @file diag.h
* @brief Debugging and diagnostics utilities
* @author fincs
* @copyright libnx Authors
*/
#pragma once
#include "../types.h"
#include "../result.h"
/**
* @brief Aborts program execution with a result code.
* @param[in] res Result code.
*/
void NX_NORETURN diagAbortWithResult(Result res);