[glib] gthread.h: drop the vtable access macros



commit 6ea1721191efc27cef0236bf10174dd0a81125bb
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Sep 19 00:01:29 2011 -0400

    gthread.h: drop the vtable access macros
    
    We're finally free of these.  Drop them.

 glib/gthread.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/glib/gthread.h b/glib/gthread.h
index 90ac704..cb6ccac 100644
--- a/glib/gthread.h
+++ b/glib/gthread.h
@@ -171,20 +171,6 @@ gboolean g_thread_get_initialized (void);
 /* internal function for fallback static mutex implementation */
 GMutex* g_static_mutex_get_mutex_impl   (GMutex **mutex);
 
-/* shorthands for conditional and unconditional function calls */
-
-#define G_THREAD_UF(op, arglist)					\
-    (*g_thread_functions_for_glib_use . op) arglist
-#define G_THREAD_CF(op, fail, arg)					\
-    (g_thread_supported () ? G_THREAD_UF (op, arg) : (fail))
-#define G_THREAD_ECF(op, fail, mutex, type)				\
-    (g_thread_supported () ? 						\
-      ((type(*)(GMutex*, const gulong, gchar const*))			\
-      (*g_thread_functions_for_glib_use . op))				\
-     (mutex, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : (fail))
-
-
-
 #if defined(G_THREADS_MANDATORY)
 #define g_thread_supported()     1
 #else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]