s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added G_LOCK_EXTERN macro

1999-02-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib.h: s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added
	G_LOCK_EXTERN macro to declare a lock externally.
This commit is contained in:
Sebastian Wilhelmi
1999-02-10 09:40:46 +00:00
committed by Sebastian Wilhelmi
parent a8ff1b4fce
commit b37e032581
28 changed files with 58 additions and 52 deletions

View File

@@ -36,7 +36,7 @@ struct _GAllocator /* from gmem.c */
};
static GAllocator *current_allocator = NULL;
G_LOCK_DECLARE_STATIC (current_allocator);
G_LOCK_DEFINE_STATIC (current_allocator);
/* HOLDS: current_allocator_lock */
static void