GThreadFunctions is about to disappear.
* only be called once, and must not be called directly or indirectly
* from another glib-function, e.g. as a callback.
*/
-void g_thread_init (GThreadFunctions *vtable);
+void g_thread_init (gpointer vtable);
/* Checks if thread support is initialized. Identical to the
* g_thread_supported macro but provided for language bindings.
#include "gthreadprivate.h"
void
-g_thread_init (GThreadFunctions *init)
+g_thread_init (gpointer init)
{
static gboolean already_done;
}
void
-g_thread_init_with_errorcheck_mutexes (GThreadFunctions *vtable)
+g_thread_init_with_errorcheck_mutexes (gpointer vtable)
{
g_assert (vtable == NULL);