summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index 35f74c206..019f5d58d 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -53,6 +53,9 @@
void SetDebugString(const char *s);
const char *GetDebugString();
+/* Shorter form for passing filename and linenumber */
+#define FILE_LINE __FILE__, __LINE__
+
/* Used for profiling
*
* Usage: