glade/gladeui/glade-id-allocator.h
Tristan Van Berkom eb33dd583d Reorganised package structure, moved a lot of files and directories.
* Reorganised package structure, moved a lot of files
	  and directories. Modified the Makefile.am in most directories.

	* po/POTFILES.in, po/POTFILES.skip: Update for reorganisation.

	* configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR.


svn path=/trunk/; revision=1050
2007-01-23 19:49:04 +00:00

18 lines
443 B
C

#ifndef __GLADE_ID_ALLOCATOR_H__
#define __GLADE_ID_ALLOCATOR_H__
typedef struct _GladeIDAllocator GladeIDAllocator;
struct _GladeIDAllocator
{
guint n_words;
guint32 *data;
};
GladeIDAllocator * glade_id_allocator_new (void);
void glade_id_allocator_free (GladeIDAllocator *allocator);
guint glade_id_allocator_alloc (GladeIDAllocator *allocator);
void glade_id_allocator_release (GladeIDAllocator *allocator, guint id);
#endif