summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/error.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-01-29 19:14:45 -0500
committerTavian Barnes <tavianator@gmail.com>2011-01-29 19:14:45 -0500
commit9400fce82dcf773c9862006a41681a73b22cbd87 (patch)
tree8193cc766c169c15cf1e74145ea2432ac70286cd /libdimension/dimension/error.h
parent4f0c30aee2c56967895c981534414d1b04e9e0ce (diff)
downloaddimension-9400fce82dcf773c9862006a41681a73b22cbd87.tar.xz
Add dmnsn_[un]likely() macros and a profiling framework.
Diffstat (limited to 'libdimension/dimension/error.h')
-rw-r--r--libdimension/dimension/error.h13
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