aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-21 20:08:08 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-21 20:08:44 -0700
commit0e3eb38f1185078662ee44c3120326cdb88274b4 (patch)
treef16b3222ca8fe4933f988f02e6f1bc314482d756 /common.h
parentdc23af6b32d4b89eea9ad904495ac5507b8835cc (diff)
Improved fork reporting
Made autosuggestion work properly for tilde expansion
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 27ef96fb..c98a8956 100644
--- a/common.h
+++ b/common.h
@@ -268,8 +268,8 @@ void assert_is_background_thread(const char *who);
#define ASSERT_IS_BACKGROUND_THREAD() ASSERT_IS_BACKGROUND_THREAD_TRAMPOLINE(__FUNCTION__)
/* Useful macro for asserting that a lock is locked. This doesn't check whether this thread locked it, which it would be nice if it did, but here it is anyways. */
-void assert_is_locked(void *mutex, const char *who);
-#define ASSERT_IS_LOCKED(x) assert_is_locked((void *)(&x), #x)
+void assert_is_locked(void *mutex, const char *who, const char *caller);
+#define ASSERT_IS_LOCKED(x) assert_is_locked((void *)(&x), #x, __FUNCTION__)
/**
Converts the wide character string \c in into it's narrow