mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
updated.
1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * Makefile.am (EXTRA_DIST): updated. * testgthread.c, gthread-*.c: Changed private to private_key to avoid problems when compiling with under C++.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
961205a025
commit
2c30e8620f
@@ -137,23 +137,23 @@ g_private_new_solaris_impl (GDestroyNotify destructor)
|
||||
functions from gmem.c and gmessages.c */
|
||||
|
||||
static void
|
||||
g_private_set_solaris_impl (GPrivate * private, gpointer value)
|
||||
g_private_set_solaris_impl (GPrivate * private_key, gpointer value)
|
||||
{
|
||||
if (!private)
|
||||
if (!private_key)
|
||||
return;
|
||||
|
||||
thr_setspecific (*(thread_key_t *) private, value);
|
||||
thr_setspecific (*(thread_key_t *) private_key, value);
|
||||
}
|
||||
|
||||
static gpointer
|
||||
g_private_get_solaris_impl (GPrivate * private)
|
||||
g_private_get_solaris_impl (GPrivate * private_key)
|
||||
{
|
||||
gpointer result;
|
||||
|
||||
if (!private)
|
||||
if (!private_key)
|
||||
return NULL;
|
||||
|
||||
thr_getspecific (*(thread_key_t *) private, &result);
|
||||
thr_getspecific (*(thread_key_t *) private_key, &result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user