diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-01-29 19:14:45 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-01-29 19:14:45 -0500 |
commit | 9400fce82dcf773c9862006a41681a73b22cbd87 (patch) | |
tree | 8193cc766c169c15cf1e74145ea2432ac70286cd /libdimension/dimension | |
parent | 4f0c30aee2c56967895c981534414d1b04e9e0ce (diff) | |
download | dimension-9400fce82dcf773c9862006a41681a73b22cbd87.tar.xz |
Add dmnsn_[un]likely() macros and a profiling framework.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/error.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libdimension/dimension/error.h b/libdimension/dimension/error.h index fd78115..d785f96 100644 --- a/libdimension/dimension/error.h +++ b/libdimension/dimension/error.h @@ -37,19 +37,6 @@ typedef enum dmnsn_severity { } dmnsn_severity; /** - * @internal - * @def DMNSN_FUNC - * @brief Expands to the name of the current function - */ -#ifdef __GNUC__ - #define DMNSN_FUNC __PRETTY_FUNCTION__ -#elif __STDC_VERSION__ >= 199901L - #define DMNSN_FUNC __func__ -#else - #define DMNSN_FUNC "<unknown function>" -#endif - -/** * Report an error. * @param[in] severity A @ref dmnsn_severity representing the severity of the * error. DMNSN_SEVERITY_HIGH will always terminate the |